Package javax.servlet

Interface SessionCookieConfig

All Known Implementing Classes:
DefaultHttpSessionManager

public interface SessionCookieConfig
The SessionCookieConfig API.
Author:
Manfred Riem ([email protected])
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getComment()
    Get the comment.
    java.lang.String getDomain()
    Get the domain.
    int getMaxAge()
    Get the max age.
    java.lang.String getName()
    Get the name.
    java.lang.String getPath()
    Get the path.
    boolean isHttpOnly()
    Is HTTP-only.
    boolean isSecure()
    Is secure.
    void setComment​(java.lang.String comment)
    Set the comment.
    void setDomain​(java.lang.String domain)
    Set the domain.
    void setHttpOnly​(boolean httpOnly)
    Set the HTTP-only flag.
    void setMaxAge​(int maxAge)
    Set the max age.
    void setName​(java.lang.String name)
    Set the name.
    void setPath​(java.lang.String path)
    Set the path.
    void setSecure​(boolean secure)
    Set the secure flag.
  • Method Details

    • getComment

      java.lang.String getComment()
      Get the comment.
      Returns:
      the comment.
    • getDomain

      java.lang.String getDomain()
      Get the domain.
      Returns:
      the domain.
    • getMaxAge

      int getMaxAge()
      Get the max age.
      Returns:
      the max age.
    • getName

      java.lang.String getName()
      Get the name.
      Returns:
      the name.
    • getPath

      java.lang.String getPath()
      Get the path.
      Returns:
      the path.
    • isHttpOnly

      boolean isHttpOnly()
      Is HTTP-only.
      Returns:
      true if it is HTTP-only, false otherwise.
    • isSecure

      boolean isSecure()
      Is secure.
      Returns:
      true if it is secure, false otherwise.
    • setComment

      void setComment​(java.lang.String comment)
      Set the comment.
      Parameters:
      comment - the comment.
    • setDomain

      void setDomain​(java.lang.String domain)
      Set the domain.
      Parameters:
      domain - the domain.
    • setHttpOnly

      void setHttpOnly​(boolean httpOnly)
      Set the HTTP-only flag.
      Parameters:
      httpOnly - the HTTP-only flag.
    • setMaxAge

      void setMaxAge​(int maxAge)
      Set the max age.
      Parameters:
      maxAge - the max age.
    • setName

      void setName​(java.lang.String name)
      Set the name.
      Parameters:
      name - the name.
    • setPath

      void setPath​(java.lang.String path)
      Set the path.
      Parameters:
      path - the path.
    • setSecure

      void setSecure​(boolean secure)
      Set the secure flag.
      Parameters:
      secure - the secure flag.