@Contract(threading=IMMUTABLE) public class H2RequestContent extends RequestContent
RequestContent
.
This interceptor is essential for the HTTP protocol conformance and the correct operation of the client-side message processing pipeline.
Modifier and Type | Field and Description |
---|---|
static H2RequestContent |
INSTANCE
Singleton instance.
|
Constructor and Description |
---|
H2RequestContent() |
H2RequestContent(boolean overwrite) |
Modifier and Type | Method and Description |
---|---|
void |
process(HttpRequest request,
EntityDetails entity,
HttpContext context) |
validateOptionsContentType
public static final H2RequestContent INSTANCE
public H2RequestContent()
public H2RequestContent(boolean overwrite)
public void process(HttpRequest request, EntityDetails entity, HttpContext context) throws HttpException, IOException
process
in interface HttpRequestInterceptor
process
in class RequestContent
HttpException
IOException
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.