Class SessionCookieConfigWrapper

java.lang.Object
org.apache.felix.http.javaxwrappers.SessionCookieConfigWrapper
All Implemented Interfaces:
javax.servlet.SessionCookieConfig

public class SessionCookieConfigWrapper extends Object implements javax.servlet.SessionCookieConfig
Session cookie config wrapper
  • Constructor Details

    • SessionCookieConfigWrapper

      public SessionCookieConfigWrapper(@NotNull @NotNull jakarta.servlet.SessionCookieConfig c)
      Create new config
      Parameters:
      c - Wrapped config
  • Method Details

    • setName

      public void setName(String name)
      Specified by:
      setName in interface javax.servlet.SessionCookieConfig
    • getName

      public String getName()
      Specified by:
      getName in interface javax.servlet.SessionCookieConfig
    • setDomain

      public void setDomain(String domain)
      Specified by:
      setDomain in interface javax.servlet.SessionCookieConfig
    • getDomain

      public String getDomain()
      Specified by:
      getDomain in interface javax.servlet.SessionCookieConfig
    • setPath

      public void setPath(String path)
      Specified by:
      setPath in interface javax.servlet.SessionCookieConfig
    • getPath

      public String getPath()
      Specified by:
      getPath in interface javax.servlet.SessionCookieConfig
    • setComment

      public void setComment(String comment)
      Specified by:
      setComment in interface javax.servlet.SessionCookieConfig
    • getComment

      public String getComment()
      Specified by:
      getComment in interface javax.servlet.SessionCookieConfig
    • setHttpOnly

      public void setHttpOnly(boolean httpOnly)
      Specified by:
      setHttpOnly in interface javax.servlet.SessionCookieConfig
    • isHttpOnly

      public boolean isHttpOnly()
      Specified by:
      isHttpOnly in interface javax.servlet.SessionCookieConfig
    • setSecure

      public void setSecure(boolean secure)
      Specified by:
      setSecure in interface javax.servlet.SessionCookieConfig
    • isSecure

      public boolean isSecure()
      Specified by:
      isSecure in interface javax.servlet.SessionCookieConfig
    • setMaxAge

      public void setMaxAge(int maxAge)
      Specified by:
      setMaxAge in interface javax.servlet.SessionCookieConfig
    • getMaxAge

      public int getMaxAge()
      Specified by:
      getMaxAge in interface javax.servlet.SessionCookieConfig