Package javax.servlet

Interface SessionCookieConfig

    • Method Detail

      • getComment

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

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

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

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

        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​(String comment)
        Set the comment.
        Parameters:
        comment - the comment.
      • setDomain

        void setDomain​(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​(String name)
        Set the name.
        Parameters:
        name - the name.
      • setPath

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

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