## Uses of Interface
org.apache.hc.core5.http.HttpResponseInterceptor

- Packages that use HttpResponseInterceptor
  Package | Description
  --- | ---
  org.apache.hc.core5.http.protocol | Core HTTP protocol interceptors.
  org.apache.hc.core5.http2.protocol | HTTP/2 protocol interceptors.

- - ### Uses of HttpResponseInterceptor in org.apache.hc.core5.http.protocol

    Subinterfaces of HttpResponseInterceptor in org.apache.hc.core5.http.protocol
    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.

    Classes in org.apache.hc.core5.http.protocol that implement HttpResponseInterceptor
    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.

    Methods in org.apache.hc.core5.http.protocol with parameters of type HttpResponseInterceptor
    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)`

    Constructors in org.apache.hc.core5.http.protocol with parameters of type HttpResponseInterceptor
    Constructor and Description
    `DefaultHttpProcessor(HttpRequestInterceptor[] requestInterceptors, HttpResponseInterceptor[] responseInterceptors)`
    `DefaultHttpProcessor(HttpResponseInterceptor... responseInterceptors)`

    Constructor parameters in org.apache.hc.core5.http.protocol with type arguments of type HttpResponseInterceptor
    Constructor and Description
    `DefaultHttpProcessor(List<HttpRequestInterceptor> requestInterceptors, List<HttpResponseInterceptor> responseInterceptors)`

  - ### Uses of HttpResponseInterceptor in org.apache.hc.core5.http2.protocol

    Classes in org.apache.hc.core5.http2.protocol that implement HttpResponseInterceptor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `H2ResponseConnControl` HTTP/2 compatible extension of `ResponseConnControl`.
    `class` | `H2ResponseContent` HTTP/2 compatible extension of `ResponseContent`.

Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.