Class Session

All Implemented Interfaces:
Operation, OperationBuilder

public abstract class Session extends HttpOperation
Responsible for performing actions on the current HttpSession
  • Constructor Details

    • Session

      public Session()
  • Method Details

    • invalidate

      public static Session invalidate()
      Creates an HttpOperation that calls HttpSession.invalidate() on the current session.
    • setAttribute

      public static Session setAttribute(String name, Object value)
      Creates an HttpOperation that calls HttpSession.setAttribute(String, Object) on the current session.
      Parameters:
      name - The name of the session attribute
      value - The value to set