|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.netty.handler.codec.http2.CookieDecoder
public class CookieDecoder

Decodes an HTTP header value into Cookies. This decoder can decode
the HTTP cookie version 0, 1, and 2.
HttpRequestreq = ...; String value = req.getHeader("Cookie"); Set<Cookie> cookies = newCookieDecoder().decode(value);
CookieEncoder| Constructor Summary | |
|---|---|
CookieDecoder()
Creates a new decoder. |
|
CookieDecoder(boolean lenient)
Creates a new decoder. |
|
| Method Summary | |
|---|---|
Set<Cookie> |
decode(String header)
Decodes the specified HTTP header value into Cookies. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CookieDecoder()
public CookieDecoder(boolean lenient)
lenient - ignores cookies with the name 'HTTPOnly' instead of throwing an exception| Method Detail |
|---|
public Set<Cookie> decode(String header)
Cookies.
Cookies
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||