Class ResponseHeadersAsObjectMetadata

  • All Implemented Interfaces:
    ResponseHeaderHandler<org.apache.hc.core5.http.HttpResponse>

    public class ResponseHeadersAsObjectMetadata
    extends ResponseHeadersAsMetadata
    Concrete implementation of ResponseHeaderHandler which adds all the HTTP headers from the response as object metadata to the AdaptrisMessage.

    The underlying Header object that will be added to object metadata and keyed by NameValuePair.getName(). and will include header fields where the name is null;

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

    • Constructor Detail

      • ResponseHeadersAsObjectMetadata

        public ResponseHeadersAsObjectMetadata()
      • ResponseHeadersAsObjectMetadata

        public ResponseHeadersAsObjectMetadata​(java.lang.String prefix)