|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RoRequest | |
HTTPClient | This package provides a complete http client library. |
wttools.protocols.extend.http |
Uses of RoRequest in HTTPClient |
Classes in HTTPClient that implement RoRequest | |
class |
Request
This class represents an http request. |
Methods in HTTPClient with parameters of type RoRequest | |
protected static Cookie[] |
Cookie.parse(java.lang.String set_cookie,
RoRequest req)
Parses the Set-Cookie header into an array of Cookies. |
protected boolean |
Cookie.sendWith(RoRequest req)
|
protected static Cookie[] |
Cookie2.parse(java.lang.String set_cookie,
RoRequest req)
Parses the Set-Cookie2 header into an array of Cookies. |
protected boolean |
Cookie2.sendWith(RoRequest req)
|
void |
CookieModule.responsePhase1Handler(Response resp,
RoRequest req)
Invoked by the HTTPClient. |
void |
CookieModule.responsePhase3Handler(Response resp,
RoRequest req)
Invoked by the HTTPClient. |
void |
CookieModule.trailerHandler(Response resp,
RoRequest req)
Invoked by the HTTPClient. |
void |
HTTPClientModule.responsePhase1Handler(Response response,
RoRequest request)
The phase 1 response handler. |
void |
HTTPClientModule.responsePhase3Handler(Response response,
RoRequest request)
The phase 3 response handler. |
void |
HTTPClientModule.trailerHandler(Response response,
RoRequest request)
The chunked transfer-encoding (and in future maybe others) can contain trailer fields at the end of the body. |
AuthorizationInfo |
DefaultAuthHandler.fixupAuthInfo(AuthorizationInfo info,
RoRequest req,
AuthorizationInfo challenge,
RoResponse resp)
For Digest authentication we need to set the uri, response and opaque parameters. |
AuthorizationInfo |
DefaultAuthHandler.getAuthorization(AuthorizationInfo challenge,
RoRequest req,
RoResponse resp)
returns the requested authorization, or null if none was given. |
void |
DefaultAuthHandler.handleAuthHeaders(Response resp,
RoRequest req,
AuthorizationInfo prev,
AuthorizationInfo prxy)
We handle the "Authentication-Info" and "Proxy-Authentication-Info" headers here. |
void |
DefaultAuthHandler.handleAuthTrailers(Response resp,
RoRequest req,
AuthorizationInfo prev,
AuthorizationInfo prxy)
We handle the "Authentication-Info" and "Proxy-Authentication-Info" trailers here. |
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.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). |
AuthorizationInfo |
AuthorizationHandler.getAuthorization(AuthorizationInfo challenge,
RoRequest req,
RoResponse resp)
This method is called whenever a 401 or 407 response is received and no candidate info is found in the list of known auth info. |
AuthorizationInfo |
AuthorizationHandler.fixupAuthInfo(AuthorizationInfo info,
RoRequest req,
AuthorizationInfo challenge,
RoResponse resp)
This method is called whenever auth info is chosen from the list of known info in the AuthorizationInfo class to be sent with a request. |
void |
AuthorizationHandler.handleAuthHeaders(Response resp,
RoRequest req,
AuthorizationInfo prev,
AuthorizationInfo prxy)
Sometimes even non-401 responses will contain headers pertaining to authorization (such as the "Authentication-Info" header). |
void |
AuthorizationHandler.handleAuthTrailers(Response resp,
RoRequest req,
AuthorizationInfo prev,
AuthorizationInfo prxy)
This method is similar to handleAuthHeaders except that
it is called if any headers in the trailer were sent. |
Constructors in HTTPClient with parameters of type RoRequest | |
Cookie(RoRequest req)
Use parse() to create cookies. |
|
Cookie2(RoRequest req)
Use parse() to create cookies. |
Uses of RoRequest in wttools.protocols.extend.http |
Methods in wttools.protocols.extend.http with parameters of type RoRequest | |
boolean |
CookiePolicyHandlerImpl.acceptCookie(Cookie param1,
RoRequest param2,
RoResponse param3)
|
boolean |
CookiePolicyHandlerImpl.sendCookie(Cookie param1,
RoRequest param2)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |