Class LazyCookieState


  • public class LazyCookieState
    extends Object
    Lazy cookie implementation, which is based on preparsed Grizzly Buffers. The String representation will be created on demand. Allows recycling and uses Buffer 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.
    • Constructor Detail

      • LazyCookieState

        public LazyCookieState()
    • Method Detail

      • recycle

        public void recycle()
      • setSecure

        public void setSecure​(boolean flag)
      • getSecure

        public boolean getSecure()