Class H2RequestConnControl
java.lang.Object
org.apache.hc.core5.http.protocol.RequestConnControl
org.apache.hc.core5.http2.protocol.H2RequestConnControl
- All Implemented Interfaces:
org.apache.hc.core5.http.HttpRequestInterceptor
@Contract(threading=IMMUTABLE)
public class H2RequestConnControl
extends org.apache.hc.core5.http.protocol.RequestConnControl
HTTP/2 compatible extension of
RequestConnControl.
This interceptor is recommended for the HTTP protocol conformance and the correct operation of the client-side message processing pipeline.
- Since:
- 5.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.EntityDetails entity, org.apache.hc.core5.http.protocol.HttpContext context)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
H2RequestConnControl
public H2RequestConnControl()
-
-
Method Details
-
process
public void process(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.EntityDetails entity, org.apache.hc.core5.http.protocol.HttpContext context) throws org.apache.hc.core5.http.HttpException, IOException - Specified by:
processin interfaceorg.apache.hc.core5.http.HttpRequestInterceptor- Overrides:
processin classorg.apache.hc.core5.http.protocol.RequestConnControl- Throws:
org.apache.hc.core5.http.HttpExceptionIOException
-