public class Rfc6265CookieProcessor extends Object implements CookieProcessor
| Constructor and Description |
|---|
Rfc6265CookieProcessor() |
| Modifier and Type | Method and Description |
|---|---|
String |
generateHeader(Cookie cookie)
Generate the
Set-Cookie HTTP header value for the given Cookie. |
Charset |
getCharset()
Obtain the character set that will be used when converting between bytes
and characters when parsing and/or generating HTTP headers for cookies.
|
void |
parseCookieHeader(MimeHeaders headers,
ServerCookies serverCookies)
Parse the provided headers into server cookie objects.
|
public Charset getCharset()
CookieProcessorgetCharset in interface CookieProcessorpublic void parseCookieHeader(MimeHeaders headers, ServerCookies serverCookies)
CookieProcessorparseCookieHeader in interface CookieProcessorheaders - The HTTP headers to parseserverCookies - The server cookies object to populate with the
results of the parsingpublic String generateHeader(Cookie cookie)
CookieProcessorSet-Cookie HTTP header value for the given Cookie.generateHeader in interface CookieProcessorcookie - The cookie for which the header will be generatedCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.