org.apache.http.HttpRequestInterceptor |
Known Indirect Subclasses
BasicHttpProcessor
,
HttpProcessor
,
RequestAddCookies
,
RequestConnControl
,
RequestContent
,
RequestDate
,
RequestDefaultHeaders
,
RequestExpectContinue
,
RequestProxyAuthentication
,
RequestTargetAuthentication
,
RequestTargetHost
,
RequestUserAgent
|
Processes a request. Provides the ability to process a request before it is sent to the server or after it has received on the server side.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Processes a request.
|
Processes a request. On the client side, this step is performed before the request is sent to the server. On the server side, this step is performed on incoming messages before the message body is evaluated.
request | the request to preprocess |
---|---|
context | the context for the request |
IOException | in case of an IO problem |
---|---|
HttpException | in case of a protocol or other problem |