|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.web.util.CookieTokenizer
public class CookieTokenizer
Parse a Cookie: header into individual tokens according to RFC 2109.
| Constructor Summary | |
|---|---|
CookieTokenizer()
|
|
| Method Summary | |
|---|---|
int |
getNumTokens()
Return the number of cookie tokens parsed from the Cookie: header. |
java.lang.String |
tokenAt(int index)
Returns a given cookie token from the Cookie: header. |
int |
tokenize(java.lang.String cookies)
Parse the name=value tokens from a Cookie: header. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CookieTokenizer()
| Method Detail |
|---|
public int tokenize(java.lang.String cookies)
cookies - The Cookie: header to parsepublic int getNumTokens()
public java.lang.String tokenAt(int index)
index - The index of the cookie token to return
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||