@Contract(threading=IMMUTABLE) public class RequestConformance extends Object implements HttpRequestInterceptor
This interceptor is essential for the HTTP protocol conformance and the correct operation of the server-side message processing pipeline.
Modifier and Type | Field and Description |
---|---|
static RequestConformance |
INSTANCE |
Constructor and Description |
---|
RequestConformance() |
Modifier and Type | Method and Description |
---|---|
void |
process(HttpRequest request,
EntityDetails entity,
HttpContext localContext)
Processes a request.
|
public static final RequestConformance INSTANCE
public void process(HttpRequest request, EntityDetails entity, HttpContext localContext) throws HttpException, IOException
HttpRequestInterceptor
process
in interface HttpRequestInterceptor
request
- the request to processentity
- the request entity details or null
if not availablelocalContext
- the context for the requestHttpException
- in case of an HTTP protocol violationIOException
- in case of an I/O errorCopyright © 2005–2021 The Apache Software Foundation. All rights reserved.