@Contract(threading=IMMUTABLE) public class H2ResponseConnControl extends ResponseConnControl
ResponseConnControl
.Modifier and Type | Field and Description |
---|---|
static H2ResponseConnControl |
INSTANCE
Singleton instance.
|
Constructor and Description |
---|
H2ResponseConnControl() |
Modifier and Type | Method and Description |
---|---|
void |
process(HttpResponse response,
EntityDetails entity,
HttpContext context)
Processes a response.
|
public static final H2ResponseConnControl INSTANCE
public void process(HttpResponse response, EntityDetails entity, HttpContext context) throws HttpException, IOException
HttpResponseInterceptor
process
in interface HttpResponseInterceptor
process
in class ResponseConnControl
response
- the response 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 errorCopyright © 2005–2021 The Apache Software Foundation. All rights reserved.