Class MetadataResponseHandlerFactory

  • All Implemented Interfaces:
    ResponseHandlerFactory

    public class MetadataResponseHandlerFactory
    extends ResponseHandlerFactoryImpl
    Implementation ResponseHandlerFactory that writes the response to the named metadata key.

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

    • Constructor Detail

      • MetadataResponseHandlerFactory

        public MetadataResponseHandlerFactory​(java.lang.String key)
      • MetadataResponseHandlerFactory

        public MetadataResponseHandlerFactory()
    • Method Detail

      • createResponseHandler

        public org.apache.hc.core5.http.io.HttpClientResponseHandler<AdaptrisMessage> createResponseHandler​(HttpProducer owner)
      • getMetadataKey

        public java.lang.String getMetadataKey()
      • setMetadataKey

        public void setMetadataKey​(java.lang.String metadataKey)