Class H2RequestValidateHost

  • All Implemented Interfaces:
    org.apache.hc.core5.http.HttpRequestInterceptor

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

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

    Since:
    5.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void process​(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.EntityDetails entity, org.apache.hc.core5.http.protocol.HttpContext context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • H2RequestValidateHost

        public H2RequestValidateHost()
    • Method Detail

      • 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,
                            java.io.IOException
        Specified by:
        process in interface org.apache.hc.core5.http.HttpRequestInterceptor
        Overrides:
        process in class org.apache.hc.core5.http.protocol.RequestValidateHost
        Throws:
        org.apache.hc.core5.http.HttpException
        java.io.IOException