Class MockSessionCookieConfig

  • All Implemented Interfaces:
    javax.servlet.SessionCookieConfig

    public class MockSessionCookieConfig
    extends java.lang.Object
    implements javax.servlet.SessionCookieConfig
    Mock implementation of the SessionCookieConfig interface.
    • Constructor Detail

      • MockSessionCookieConfig

        public MockSessionCookieConfig()
    • Method Detail

      • setName

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

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

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

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

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

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

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

        public java.lang.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