Class ApplicationSessionCookieConfig

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Cookie createSessionCookie​(Context context, java.lang.String sessionId, boolean secure)
      Creates a new session cookie for the given session ID
      java.lang.String getComment()
      Obtain the comment to use for session cookies.
      java.lang.String getDomain()
      Obtain the domain to use for session cookies.
      int getMaxAge()
      Obtain the maximum age to set for a session cookie.
      java.lang.String getName()
      Obtain the name to use for the session cookies.
      java.lang.String getPath()
      Obtain the path to use for session cookies.
      boolean isHttpOnly()
      Will session cookies be created with the httpOnly flag set?
      boolean isSecure()
      Will session cookies be created with the secure flag set?
      void setComment​(java.lang.String comment)
      Sets the comment for the session cookie
      void setDomain​(java.lang.String domain)
      Sets the domain for the session cookie
      void setHttpOnly​(boolean httpOnly)
      Sets the httpOnly flag for the session cookie.
      void setMaxAge​(int maxAge)
      Sets the maximum age.
      void setName​(java.lang.String name)
      Sets the session cookie name.
      void setPath​(java.lang.String path)
      Sets the path of the session cookie.
      void setSecure​(boolean secure)
      Sets the secure flag for the session cookie.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait