## 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` | `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.

    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–2022 The Apache Software Foundation. All rights reserved.