接口 SessionStatus

  • 所有已知实现类:
    SimpleSessionStatus

    public interface SessionStatus
    Simple interface that can be injected into handler methods, allowing them to signal that their session processing is complete. The handler invoker may then follow up with appropriate cleanup, e.g. of session attributes which have been implicitly created during this handler's processing (according to the @SessionAttributes annotation).
    从以下版本开始:
    2.5
    作者:
    Juergen Hoeller
    另请参阅:
    RequestMapping, SessionAttributes
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型方法说明
      booleanisComplete()
      Return whether the current handler's session processing has been marked as complete.
      voidsetComplete()
      Mark the current handler's session processing as complete, allowing for cleanup of session attributes.
    • 方法详细资料

      • setComplete

        void setComplete()
        Mark the current handler's session processing as complete, allowing for cleanup of session attributes.
      • isComplete

        boolean isComplete()
        Return whether the current handler's session processing has been marked as complete.