@Contract(threading=IMMUTABLE) public class RequestExpectContinue extends Object implements HttpRequestInterceptor
Expect
header. This interceptor is
recommended for client side protocol processors.Constructor and Description |
---|
RequestExpectContinue()
Deprecated.
(4.3) use
RequestExpectContinue(boolean) |
RequestExpectContinue(boolean activeByDefault) |
@Deprecated public RequestExpectContinue()
RequestExpectContinue(boolean)
public RequestExpectContinue(boolean activeByDefault)
public void process(HttpRequest request, HttpContext context) throws HttpException, IOException
HttpRequestInterceptor
process
in interface HttpRequestInterceptor
request
- the request to preprocesscontext
- the context for the requestHttpException
- in case of an HTTP protocol violationIOException
- in case of an I/O errorCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.