Class CompositeResponseHeaders

  • All Implemented Interfaces:
    ResponseHeaderHandler<okhttp3.Response>

    public class CompositeResponseHeaders
    extends java.lang.Object
    implements ResponseHeaderHandler<okhttp3.Response>
    Implementation of ResponseHeaderHandler that uses nested handlers to extract headers. This implementation is primarily so that you can mix and matchhow you capture response headers; If you wanted to use both ResponseHeadersAsMetadata and ResponseHeadersAsObjectMetadata then you can.

    In the adapter configuration file this class is aliased as http-composite-request-headers which is the preferred alternative to the fully qualified classname when building your configuration.