Package | Description |
---|---|
org.apache.hc.core5.http.protocol |
Core HTTP protocol interceptors.
|
Modifier and Type | Interface and Description |
---|---|
interface |
HttpProcessor
Collects protocol interceptors that
implements the 'Chain of Responsibility' pattern, where each individual
protocol interceptor is expected to work on a particular aspect of the HTTP
protocol the interceptor is responsible for.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultHttpProcessor
Default immutable implementation of
HttpProcessor . |
class |
ResponseConformance
This response interceptor is responsible for making the protocol conformance checks
of outgoing response messages.
|
class |
ResponseConnControl
This response interceptor is responsible for adding
Connection header
to outgoing responses, which is essential for managing persistence of
HTTP/1.0 connections. |
class |
ResponseContent
This response interceptor is responsible for delimiting the message content
by adding
Content-Length or Transfer-Content headers based
on the properties of the enclosed entity and the protocol version. |
class |
ResponseDate
This response interceptor is responsible for adding
Date header
to outgoing response messages. |
class |
ResponseServer
This response interceptor is responsible for adding
Server header. |
Modifier and Type | Method and Description |
---|---|
HttpProcessorBuilder |
HttpProcessorBuilder.add(HttpResponseInterceptor e) |
HttpProcessorBuilder |
HttpProcessorBuilder.addAll(HttpResponseInterceptor... e) |
HttpProcessorBuilder |
HttpProcessorBuilder.addAllFirst(HttpResponseInterceptor... e) |
HttpProcessorBuilder |
HttpProcessorBuilder.addAllLast(HttpResponseInterceptor... e) |
HttpProcessorBuilder |
HttpProcessorBuilder.addFirst(HttpResponseInterceptor e) |
HttpProcessorBuilder |
HttpProcessorBuilder.addLast(HttpResponseInterceptor e) |
Constructor and Description |
---|
DefaultHttpProcessor(HttpRequestInterceptor[] requestInterceptors,
HttpResponseInterceptor[] responseInterceptors) |
DefaultHttpProcessor(HttpResponseInterceptor... responseInterceptors) |
Constructor and Description |
---|
DefaultHttpProcessor(List<HttpRequestInterceptor> requestInterceptors,
List<HttpResponseInterceptor> responseInterceptors) |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.