|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Cookie | |
org.apache.commons.httpclient | Classes and interfaces supporting the client side of the HTTP protocol. |
org.apache.commons.httpclient.cookie | Provides cookie handling in conjunction with Cookie . |
Uses of Cookie in org.apache.commons.httpclient |
Methods in org.apache.commons.httpclient that return Cookie | |
Cookie[] |
HttpState.getCookies()
Obtain an array of my Cookie s. |
Cookie[] |
HttpState.getCookies(java.lang.String domain,
int port,
java.lang.String path,
boolean secure,
java.util.Date now)
Deprecated. use HttpState.getCookies(String, int, String, boolean) |
Cookie[] |
HttpState.getCookies(java.lang.String domain,
int port,
java.lang.String path,
boolean secure)
Obtain an array of my Cookie s that
match the given request parameters. |
static Cookie[] |
Cookie.parse(java.lang.String domain,
int port,
java.lang.String path,
Header setCookie)
Parses the Set-Cookie Header into an array of
Cookies, assuming that the cookies were recieved
on an insecure channel. |
static Cookie[] |
Cookie.parse(java.lang.String domain,
java.lang.String path,
Header setCookie)
Deprecated. use CookieSpec interface |
static Cookie[] |
Cookie.parse(java.lang.String domain,
java.lang.String path,
boolean secure,
Header setCookie)
Deprecated. use CookieSpec interface |
static Cookie[] |
Cookie.parse(java.lang.String domain,
int port,
java.lang.String path,
boolean secure,
Header setCookie)
Deprecated. use CookieSpec interface |
Methods in org.apache.commons.httpclient with parameters of type Cookie | |
void |
HttpState.addCookie(Cookie cookie)
Add a cookie. |
void |
HttpState.addCookies(Cookie[] newcookies)
Add zero or more cookies If any given cookie has already expired, deletes the corresponding existing cookie (if any). |
static Header |
Cookie.createCookieHeader(java.lang.String domain,
java.lang.String path,
Cookie[] cookies)
Deprecated. use CookieSpec interface |
static Header |
Cookie.createCookieHeader(java.lang.String domain,
java.lang.String path,
boolean secure,
Cookie[] cookies)
Deprecated. use CookieSpec interface |
static Header |
Cookie.createCookieHeader(java.lang.String domain,
int port,
java.lang.String path,
boolean secure,
Cookie[] cookies)
Deprecated. use CookieSpec interface |
static Header |
Cookie.createCookieHeader(java.lang.String domain,
int port,
java.lang.String path,
boolean secure,
java.util.Date now,
Cookie[] cookies)
Deprecated. use CookieSpec interface |
Uses of Cookie in org.apache.commons.httpclient.cookie |
Methods in org.apache.commons.httpclient.cookie that return Cookie | |
Cookie[] |
CookieSpecBase.parse(java.lang.String host,
int port,
java.lang.String path,
boolean secure,
java.lang.String header)
Parses the Set-Cookie value into an array of Cookies. |
Cookie[] |
CookieSpecBase.parse(java.lang.String host,
int port,
java.lang.String path,
boolean secure,
Header header)
Parse the "Set-Cookie" Header into an array of Cookie s. |
Cookie[] |
CookieSpecBase.match(java.lang.String host,
int port,
java.lang.String path,
boolean secure,
Cookie[] cookies)
Return an array of Cookie s that should be submitted with a request with
given attributes, false otherwise. |
Cookie[] |
CookieSpec.parse(java.lang.String host,
int port,
java.lang.String path,
boolean secure,
java.lang.String header)
Parse the "Set-Cookie" header value into an array of Cookie s. |
Cookie[] |
CookieSpec.parse(java.lang.String host,
int port,
java.lang.String path,
boolean secure,
Header header)
Parse the "Set-Cookie" Header into an array of Cookie s. |
Cookie[] |
CookieSpec.match(java.lang.String host,
int port,
java.lang.String path,
boolean secure,
Cookie[] cookies)
Return an array of Cookie s that should be submitted with a request with
given attributes, false otherwise. |
Methods in org.apache.commons.httpclient.cookie with parameters of type Cookie | |
void |
RFC2109Spec.parseAttribute(NameValuePair attribute,
Cookie cookie)
Parse RFC 2109 specific cookie attribute and update the corresponsing Cookie
properties. |
void |
RFC2109Spec.validate(java.lang.String host,
int port,
java.lang.String path,
boolean secure,
Cookie cookie)
Performs RFC 2109 compliant Cookie validation |
java.lang.String |
RFC2109Spec.formatCookie(Cookie cookie)
Return a string suitable for sending in a "Cookie" header as defined in RFC 2109 |
java.lang.String |
RFC2109Spec.formatCookies(Cookie[] cookies)
Create a RFC 2109 compliant "Cookie" header value containing all Cookie s in cookies suitable for sending in a "Cookie" header |
Header |
RFC2109Spec.formatCookieHeader(Cookie cookie)
Create a RFC 2109 compliant "Cookie" Header containing the Cookie . |
void |
NetscapeDraftSpec.parseAttribute(NameValuePair attribute,
Cookie cookie)
Parse the cookie attribute and update the corresponsing Cookie properties
as defined by the Netscape draft specification |
void |
NetscapeDraftSpec.validate(java.lang.String host,
int port,
java.lang.String path,
boolean secure,
Cookie cookie)
Performs Netscape draft compliant Cookie validation |
void |
CookieSpecBase.parseAttribute(NameValuePair attribute,
Cookie cookie)
Parse the cookie attribute and update the corresponsing Cookie properties. |
void |
CookieSpecBase.validate(java.lang.String host,
int port,
java.lang.String path,
boolean secure,
Cookie cookie)
Performs most common Cookie validation |
boolean |
CookieSpecBase.match(java.lang.String host,
int port,
java.lang.String path,
boolean secure,
Cookie cookie)
Return true if the cookie should be submitted with a request with given attributes, false otherwise. |
Cookie[] |
CookieSpecBase.match(java.lang.String host,
int port,
java.lang.String path,
boolean secure,
Cookie[] cookies)
Return an array of Cookie s that should be submitted with a request with
given attributes, false otherwise. |
java.lang.String |
CookieSpecBase.formatCookie(Cookie cookie)
Return a string suitable for sending in a "Cookie" header |
java.lang.String |
CookieSpecBase.formatCookies(Cookie[] cookies)
Create a "Cookie" header value containing all Cookie s in cookies
suitable for sending in a "Cookie" header |
Header |
CookieSpecBase.formatCookieHeader(Cookie[] cookies)
Create a "Cookie" Header containing all Cookie s in cookies. |
Header |
CookieSpecBase.formatCookieHeader(Cookie cookie)
Create a "Cookie" Header containing the Cookie . |
void |
CookieSpec.parseAttribute(NameValuePair attribute,
Cookie cookie)
Parse the cookie attribute and update the corresponsing Cookie properties. |
void |
CookieSpec.validate(java.lang.String host,
int port,
java.lang.String path,
boolean secure,
Cookie cookie)
Perform Cookie validation accoding to validation rules defined by the cookie specification |
boolean |
CookieSpec.match(java.lang.String host,
int port,
java.lang.String path,
boolean secure,
Cookie cookie)
Return true if the cookie should be submitted with a request with given attributes, false otherwise. |
Cookie[] |
CookieSpec.match(java.lang.String host,
int port,
java.lang.String path,
boolean secure,
Cookie[] cookies)
Return an array of Cookie s that should be submitted with a request with
given attributes, false otherwise. |
java.lang.String |
CookieSpec.formatCookie(Cookie cookie)
Return a string suitable for sending in a "Cookie" header |
java.lang.String |
CookieSpec.formatCookies(Cookie[] cookies)
Create a "Cookie" header value containing all Cookie s in cookies
suitable for sending in a "Cookie" header |
Header |
CookieSpec.formatCookieHeader(Cookie[] cookies)
Create a "Cookie" Header containing all Cookie s in cookies. |
Header |
CookieSpec.formatCookieHeader(Cookie cookie)
Create a "Cookie" Header containing the Cookie . |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |