|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.norther.tammi.spray.protocol.chain.CookieParser
public abstract class CookieParser
A static HTTP cookie header parser.
| Field Summary | |
|---|---|
static String |
COOKIE
Request headers. |
static String |
SET_COOKIE
Response headers. |
| Constructor Summary | |
|---|---|
CookieParser()
|
|
| Method Summary | |
|---|---|
static Cookie |
getSessionCookie(String id,
String path,
boolean secure)
Gets a session cookie. |
static List |
parseCookies(Enumeration headers)
Parses cookies from headers. |
static int |
parseCookies(Enumeration headers,
List list)
Parses cookies from headers. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String COOKIE
public static final String SET_COOKIE
| Constructor Detail |
|---|
public CookieParser()
| Method Detail |
|---|
public static final List parseCookies(Enumeration headers)
headers - an enumeration of header values.
IllegalArgumentException - for parsing errors.
public static final int parseCookies(Enumeration headers,
List list)
headers - an enumeration of header values.list - a list for results.
IllegalArgumentException - for parsing errors.
public static Cookie getSessionCookie(String id,
String path,
boolean secure)
id - the session id.path - the context path.secure - the secure flag.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||