Class H2RequestTargetHost

java.lang.Object
org.apache.hc.core5.http.protocol.RequestTargetHost
org.apache.hc.core5.http2.protocol.H2RequestTargetHost
All Implemented Interfaces:
org.apache.hc.core5.http.HttpRequestInterceptor

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

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

Since:
5.0
  • Field Details

  • Constructor Details

    • H2RequestTargetHost

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