Class H2RequestValidateHost
- java.lang.Object
-
- org.apache.hc.core5.http.protocol.RequestValidateHost
-
- org.apache.hc.core5.http2.protocol.H2RequestValidateHost
-
- All Implemented Interfaces:
org.apache.hc.core5.http.HttpRequestInterceptor
@Contract(threading=IMMUTABLE) public class H2RequestValidateHost extends org.apache.hc.core5.http.protocol.RequestValidateHostHTTP/2 compatible extension ofRequestValidateHost.This interceptor is essential for the HTTP protocol conformance and the correct operation of the server-side message processing pipeline.
- Since:
- 5.0
-
-
Field Summary
Fields Modifier and Type Field Description static H2RequestValidateHostINSTANCESingleton instance.
-
Constructor Summary
Constructors Constructor Description H2RequestValidateHost()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocess(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.EntityDetails entity, org.apache.hc.core5.http.protocol.HttpContext context)
-
-
-
Field Detail
-
INSTANCE
public static final H2RequestValidateHost INSTANCE
Singleton instance.- Since:
- 5.2
-
-
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:
processin interfaceorg.apache.hc.core5.http.HttpRequestInterceptor- Overrides:
processin classorg.apache.hc.core5.http.protocol.RequestValidateHost- Throws:
org.apache.hc.core5.http.HttpExceptionjava.io.IOException
-
-