@Contract(threading=IMMUTABLE) public class H2ResponseContent extends ResponseContent
ResponseContent.| Constructor and Description |
|---|
H2ResponseContent() |
H2ResponseContent(boolean overwrite) |
| Modifier and Type | Method and Description |
|---|---|
void |
process(HttpResponse response,
EntityDetails entity,
HttpContext context)
Processes the response (possibly updating or inserting) Content-Length and Transfer-Encoding headers.
|
public H2ResponseContent()
public H2ResponseContent(boolean overwrite)
public void process(HttpResponse response, EntityDetails entity, HttpContext context) throws HttpException, IOException
ResponseContentprocess in interface HttpResponseInterceptorprocess in class ResponseContentresponse - The HttpResponse to modify.entity - the request entity details or null if not availablecontext - Unused.HttpException - in case of an HTTP protocol violationIOException - in case of an I/O errorCopyright © 2005–2021 The Apache Software Foundation. All rights reserved.