Class RFC6265SetCookieParser
java.lang.Object
org.eclipse.jetty.http.RFC6265SetCookieParser
- All Implemented Interfaces:
SetCookieParser
A parser for Set-Cookie header values following
RFC 6265.
White spaces around cookie name and value, and around attribute name and value, are permitted but stripped. Cookie values and attribute values may be quoted with double-quotes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns anHttpCookieobtained by parsing the givenSet-Cookievalue.
-
Constructor Details
-
RFC6265SetCookieParser
public RFC6265SetCookieParser()
-
-
Method Details
-
parse
Description copied from interface:SetCookieParserReturns an
HttpCookieobtained by parsing the givenSet-Cookievalue.Returns
nullif theSet-Cookievalue cannot be parsed due to syntax errors.- Specified by:
parsein interfaceSetCookieParser- Parameters:
setCookieValue- theSet-Cookievalue to parse- Returns:
- the parse
HttpCookieornull
-