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 java.lang.Object implements org.apache.hc.core5.http.HttpResponseInterceptorThis response interceptor is responsible for making the protocol conformance checks of incoming or outgoing HTTP/2 response messages.- Since:
- 5.4
-
-
Field Summary
Fields Modifier and Type Field Description static H2ResponseConformanceINSTANCE
-
Constructor Summary
Constructors Constructor Description H2ResponseConformance()H2ResponseConformance(java.lang.String... illegalHeaderNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocess(org.apache.hc.core5.http.HttpResponse response, org.apache.hc.core5.http.EntityDetails entity, org.apache.hc.core5.http.protocol.HttpContext context)
-
-
-
Field Detail
-
INSTANCE
public static final H2ResponseConformance INSTANCE
-
-
Method Detail
-
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, java.io.IOException- Specified by:
processin interfaceorg.apache.hc.core5.http.HttpResponseInterceptor- Throws:
org.apache.hc.core5.http.HttpExceptionjava.io.IOException
-
-