JavaScript is disabled on your browser.
Skip navigation links
io.netty.handler.codec.http

Class DefaultCookie

    • Constructor Detail

      • DefaultCookie

        public DefaultCookie(java.lang.String name,
         java.lang.String value)
        Deprecated.
        Creates a new cookie with the specified name and value.
    • Method Detail

      • getName

        @Deprecated
        public java.lang.String getName()
        Deprecated.
      • getValue

        @Deprecated
        public java.lang.String getValue()
        Deprecated.
      • getDomain

        @Deprecated
        public java.lang.String getDomain()
        Deprecated.
      • getPath

        @Deprecated
        public java.lang.String getPath()
        Deprecated.
      • getComment

        @Deprecated
        public java.lang.String getComment()
        Deprecated.
      • comment

        @Deprecated
        public java.lang.String comment()
        Deprecated.
        Description copied from interface: Cookie
        Returns the comment of this Cookie.
        Returns:
        The comment of this Cookie
      • setComment

        @Deprecated
        public void setComment(java.lang.String comment)
        Deprecated.
        Description copied from interface: Cookie
        Sets the comment of this Cookie.
        Parameters:
        comment - The comment to use
      • getCommentUrl

        @Deprecated
        public java.lang.String getCommentUrl()
        Deprecated.
      • commentUrl

        @Deprecated
        public java.lang.String commentUrl()
        Deprecated.
        Description copied from interface: Cookie
        Returns the comment URL of this Cookie.
        Returns:
        The comment URL of this Cookie
      • setCommentUrl

        @Deprecated
        public void setCommentUrl(java.lang.String commentUrl)
        Deprecated.
        Description copied from interface: Cookie
        Sets the comment URL of this Cookie.
        Parameters:
        commentUrl - The comment URL to use
      • isDiscard

        @Deprecated
        public boolean isDiscard()
        Deprecated.
        Description copied from interface: Cookie
        Checks to see if this Cookie is to be discarded by the browser at the end of the current session.
        Returns:
        True if this Cookie is to be discarded, otherwise false
      • setDiscard

        @Deprecated
        public void setDiscard(boolean discard)
        Deprecated.
        Description copied from interface: Cookie
        Sets the discard flag of this Cookie. If set to true, this Cookie will be discarded by the browser at the end of the current session
        Parameters:
        discard - True if the Cookie is to be discarded
      • getPorts

        @Deprecated
        public java.util.Set<java.lang.Integer> getPorts()
        Deprecated.
      • ports

        @Deprecated
        public java.util.Set<java.lang.Integer> ports()
        Deprecated.
        Description copied from interface: Cookie
        Returns the ports that this Cookie can be accessed on.
        Returns:
        The Set of ports that this Cookie can use
      • setPorts

        @Deprecated
        public void setPorts(int... ports)
        Deprecated.
        Description copied from interface: Cookie
        Sets the ports that this Cookie can be accessed on.
        Parameters:
        ports - The ports that this Cookie can be accessed on
      • setPorts

        @Deprecated
        public void setPorts(java.lang.Iterable<java.lang.Integer> ports)
        Deprecated.
        Description copied from interface: Cookie
        Sets the ports that this Cookie can be accessed on.
        Parameters:
        ports - The Iterable collection of ports that this Cookie can be accessed on.
      • getMaxAge

        @Deprecated
        public long getMaxAge()
        Deprecated.
      • getVersion

        @Deprecated
        public int getVersion()
        Deprecated.
      • version

        @Deprecated
        public int version()
        Deprecated.
        Description copied from interface: Cookie
        Returns the version of this Cookie.
        Returns:
        The version of this Cookie
      • setVersion

        @Deprecated
        public void setVersion(int version)
        Deprecated.
        Description copied from interface: Cookie
        Sets the version of this Cookie.
        Parameters:
        version - The new version to use
Skip navigation links

Copyright © 2008–2018 The Netty Project. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /