@Contract(threading=IMMUTABLE) public class H2ResponseContent extends ResponseContent
ResponseContent.| 限定符和类型 | 字段和说明 |
|---|---|
static H2ResponseContent |
INSTANCE
Singleton instance.
|
| 构造器和说明 |
|---|
H2ResponseContent() |
H2ResponseContent(boolean overwrite) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
process(HttpResponse response,
EntityDetails entity,
HttpContext context)
Processes the response (possibly updating or inserting) Content-Length and Transfer-Encoding headers.
|
public static final H2ResponseContent INSTANCE
public H2ResponseContent()
public H2ResponseContent(boolean overwrite)
public void process(HttpResponse response, EntityDetails entity, HttpContext context) throws HttpException, IOException
ResponseContentprocess 在接口中 HttpResponseInterceptorprocess 在类中 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 © 2023. All rights reserved.