Class H2ResponseConformance
java.lang.Object
org.apache.hc.core5.http2.protocol.H2ResponseConformance
- All Implemented Interfaces:
org.apache.hc.core5.http.HttpResponseInterceptor
@Contract(threading=IMMUTABLE)
public class H2ResponseConformance
extends Object
implements org.apache.hc.core5.http.HttpResponseInterceptor
This response interceptor is responsible for making the protocol conformance checks
of incoming or outgoing HTTP/2 response messages.
- Since:
- 5.4
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(org.apache.hc.core5.http.HttpResponse response, org.apache.hc.core5.http.EntityDetails entity, org.apache.hc.core5.http.protocol.HttpContext context)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
H2ResponseConformance
-
H2ResponseConformance
public H2ResponseConformance()
-
-
Method Details
-
process
public void process(org.apache.hc.core5.http.HttpResponse response, 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.HttpResponseInterceptor- Throws:
org.apache.hc.core5.http.HttpExceptionIOException
-