Package org.atmosphere.util
Class CookieUtil.ServerCookieDecoder
java.lang.Object
org.atmosphere.util.CookieUtil.ServerCookieDecoder
- Enclosing class:
CookieUtil
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CookieUtil.ServerCookieDecoderStrict encoder that validates that name and value chars are in the valid scope defined in RFC6265 -
Method Summary
Modifier and TypeMethodDescriptionSet<javax.servlet.http.Cookie> Decodes the specified Set-Cookie HTTP header value into aCookie.voidDecodes the specified Set-Cookie HTTP header value into aCookie.protected javax.servlet.http.CookieinitCookie(String header, int nameBegin, int nameEnd, int valueBegin, int valueEnd)
-
Field Details
-
STRICT
Strict encoder that validates that name and value chars are in the valid scope defined in RFC6265
-
-
Method Details
-
decode
Decodes the specified Set-Cookie HTTP header value into aCookie.- Parameters:
header- the cookie header- Returns:
- the decoded
Cookie
-
decode
Decodes the specified Set-Cookie HTTP header value into aCookie.- Parameters:
header- the cookie headercookies- the cookies to be filled
-
initCookie
protected javax.servlet.http.Cookie initCookie(String header, int nameBegin, int nameEnd, int valueBegin, int valueEnd)
-