Class ClientCookieDecoder

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static ClientCookieDecoder LAX
      Lax instance that doesn't validate name and value
      static ClientCookieDecoder STRICT
      Strict encoder that validates that name and value chars are in the valid scope defined in RFC6265
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Cookie decode​(java.lang.String header)
      Decodes the specified Set-Cookie HTTP header value into a Cookie.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • STRICT

        public static final ClientCookieDecoder STRICT
        Strict encoder that validates that name and value chars are in the valid scope defined in RFC6265
      • LAX

        public static final ClientCookieDecoder LAX
        Lax instance that doesn't validate name and value
    • Method Detail

      • decode

        public Cookie decode​(java.lang.String header)
        Decodes the specified Set-Cookie HTTP header value into a Cookie.
        Returns:
        the decoded Cookie