Class H2ResponseConnControl

java.lang.Object
org.apache.hc.core5.http.protocol.ResponseConnControl
org.apache.hc.core5.http2.protocol.H2ResponseConnControl
All Implemented Interfaces:
org.apache.hc.core5.http.HttpResponseInterceptor

@Contract(threading=IMMUTABLE) public class H2ResponseConnControl extends org.apache.hc.core5.http.protocol.ResponseConnControl
HTTP/2 compatible extension of ResponseConnControl.

This interceptor is recommended for the HTTP protocol conformance and the correct operation of the server-side message processing pipeline.

Since:
5.0
  • Field Details

  • Constructor Details

    • H2ResponseConnControl

      public H2ResponseConnControl()
  • 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
      Overrides:
      process in class org.apache.hc.core5.http.protocol.ResponseConnControl
      Throws:
      org.apache.hc.core5.http.HttpException
      IOException