Class ServerCookie

  • All Implemented Interfaces:

    public class ServerCookie
    extends java.lang.Object
    Server-side cookie representation. Allows recycling and uses MessageBytes as low-level representation ( and thus the byte -> char conversion can be delayed until we know the charset ).

    Tomcat.core uses this recyclable object to represent cookies, and the facade will convert it to the external representation.

    See Also:
    Serialized Form
    • Constructor Detail

      • ServerCookie

        public ServerCookie()
    • Method Detail

      • recycle

        public void recycle()
      • getVersion

        public int getVersion()
      • setVersion

        public void setVersion​(int v)
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object