Package | Description |
---|---|
org.apache.hc.core5.http.protocol |
Core HTTP protocol interceptors.
|
Modifier and Type | Interface and Description |
---|---|
interface |
HttpProcessor
HTTP protocol processor is a collection of 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 |
ResponseConnControl
ResponseConnControl is responsible for adding
Connection header
to the outgoing responses, which is essential for managing persistence of
HTTP/1.0 connections. |
class |
ResponseContent
ResponseContent is the most important interceptor for outgoing responses.
|
class |
ResponseDate
ResponseDate is responsible for adding
Date header to the
outgoing responses. |
class |
ResponseServer
ResponseServer 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.