|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Cookie | |
---|---|
HTTPClient | This package provides a complete http client library. |
Uses of Cookie in HTTPClient |
---|
Subclasses of Cookie in HTTPClient | |
---|---|
class |
Cookie2
This class represents an http cookie as specified in the HTTP State Management Mechanism spec (also known as a version 1 cookie). |
Methods in HTTPClient that return Cookie | |
---|---|
static Cookie[] |
CookieModule.listAllCookies()
List all stored cookies for all contexts. |
static Cookie[] |
CookieModule.listAllCookies()
List all stored cookies for all contexts. |
static Cookie[] |
CookieModule.listAllCookies(Object context)
List all stored cookies for a given context. |
static Cookie[] |
CookieModule.listAllCookies(Object context)
List all stored cookies for a given context. |
protected static Cookie[] |
Cookie.parse(String set_cookie,
RoRequest req)
Parses the Set-Cookie header into an array of Cookies. |
protected static Cookie[] |
Cookie2.parse(String set_cookie,
RoRequest req)
Parses the Set-Cookie2 header into an array of Cookies. |
protected static Cookie[] |
Cookie.parse(String set_cookie,
RoRequest req)
Parses the Set-Cookie header into an array of Cookies. |
protected static Cookie[] |
Cookie2.parse(String set_cookie,
RoRequest req)
Parses the Set-Cookie2 header into an array of Cookies. |
Methods in HTTPClient with parameters of type Cookie | |
---|---|
boolean |
CookiePolicyHandler.acceptCookie(Cookie cookie,
RoRequest req,
RoResponse resp)
This method is called for each cookie that a server tries to set via the Set-Cookie header. |
boolean |
CookiePolicyHandler.acceptCookie(Cookie cookie,
RoRequest req,
RoResponse resp)
This method is called for each cookie that a server tries to set via the Set-Cookie header. |
static void |
CookieModule.addCookie(Cookie cookie)
Add the specified cookie to the list of cookies in the default context. |
static void |
CookieModule.addCookie(Cookie cookie)
Add the specified cookie to the list of cookies in the default context. |
static void |
CookieModule.addCookie(Cookie cookie,
Object context)
Add the specified cookie to the list of cookies for the specified context. |
static void |
CookieModule.addCookie(Cookie cookie,
Object context)
Add the specified cookie to the list of cookies for the specified context. |
static void |
CookieModule.removeCookie(Cookie cookie)
Remove the specified cookie from the list of cookies in the default context. |
static void |
CookieModule.removeCookie(Cookie cookie)
Remove the specified cookie from the list of cookies in the default context. |
static void |
CookieModule.removeCookie(Cookie cookie,
Object context)
Remove the specified cookie from the list of cookies for the specified context. |
static void |
CookieModule.removeCookie(Cookie cookie,
Object context)
Remove the specified cookie from the list of cookies for the specified context. |
boolean |
CookiePolicyHandler.sendCookie(Cookie cookie,
RoRequest req)
This method is called for each cookie that is eligible for sending with a request (according to the matching rules for the path, domain, protocol, etc). |
boolean |
CookiePolicyHandler.sendCookie(Cookie cookie,
RoRequest req)
This method is called for each cookie that is eligible for sending with a request (according to the matching rules for the path, domain, protocol, etc). |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |