@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
ResponseContent
process
in interface HttpResponseInterceptor
process
in class ResponseContent
response
- 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–2022 The Apache Software Foundation. All rights reserved.