@Contract(threading=STATELESS) public class RequestExpectContinue extends Object implements HttpRequestInterceptor
Expect
header.
This interceptor takes into account RequestConfig.isExpectContinueEnabled()
setting.
Constructor and Description |
---|
RequestExpectContinue() |
Modifier and Type | Method and Description |
---|---|
void |
process(HttpRequest request,
EntityDetails entity,
HttpContext context)
Processes a request.
|
public void process(HttpRequest request, EntityDetails entity, HttpContext context) throws HttpException, IOException
HttpRequestInterceptor
process
in interface HttpRequestInterceptor
request
- the request to processentity
- the request entity details or null
if not availablecontext
- the context for the requestHttpException
- in case of an HTTP protocol violationIOException
- in case of an I/O error