类 HttpSessionRequiredException

    • 构造器详细资料

      • HttpSessionRequiredException

        public HttpSessionRequiredException​(String msg,
                                            String expectedAttribute)
        Create a new HttpSessionRequiredException.
        参数:
        msg - the detail message
        expectedAttribute - the name of the expected session attribute
        从以下版本开始:
        4.3
    • 方法详细资料

      • getExpectedAttribute

        public String getExpectedAttribute()
        Return the name of the expected session attribute, if any.
        从以下版本开始:
        4.3