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 Details

  • Constructor Details

    • H2ResponseConformance

      @Internal public H2ResponseConformance(String... illegalHeaderNames)
    • 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:
      process in interface org.apache.hc.core5.http.HttpResponseInterceptor
      Throws:
      org.apache.hc.core5.http.HttpException
      IOException