Package | Description |
---|---|
com.streamscape.lib.http |
Modifier and Type | Class and Description |
---|---|
class |
Request
Title: Framework Support Library
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 |
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.
|
AuthorizationInfo |
DefaultAuthHandler.getAuthorization(AuthorizationInfo challenge,
RoRequest req,
RoResponse resp)
returns the requested authorization, or null if none was given.
|
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.
|
void |
DefaultAuthHandler.handleAuthHeaders(Response resp,
RoRequest req,
AuthorizationInfo prev,
AuthorizationInfo prxy)
We handle the "Authentication-Info" and "Proxy-Authentication-Info"
headers here.
|
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 |
DefaultAuthHandler.handleAuthTrailers(Response resp,
RoRequest req,
AuthorizationInfo prev,
AuthorizationInfo prxy)
We handle the "Authentication-Info" and "Proxy-Authentication-Info"
trailers here.
|
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. |
void |
RedirectionModule.responsePhase1Handler(Response resp,
RoRequest req)
Invoked by the com.streamscape.lib.http.
|
void |
HTTPClientModule.responsePhase1Handler(Response response,
RoRequest request)
The phase 1 response handler.
|
void |
CookieModule.responsePhase1Handler(Response resp,
RoRequest req)
Invoked by the com.streamscape.lib.http.
|
void |
RedirectionModule.responsePhase3Handler(Response resp,
RoRequest req)
Invoked by the com.streamscape.lib.http.
|
void |
HTTPClientModule.responsePhase3Handler(Response response,
RoRequest request)
The phase 3 response handler.
|
void |
CookieModule.responsePhase3Handler(Response resp,
RoRequest req)
Invoked by the com.streamscape.lib.http.
|
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).
|
void |
RedirectionModule.trailerHandler(Response resp,
RoRequest req)
Invoked by the com.streamscape.lib.http.
|
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.
|
void |
CookieModule.trailerHandler(Response resp,
RoRequest req)
Invoked by the com.streamscape.lib.http.
|
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.