Package com.adaptris.core.http.apache5
Class MetadataResponseHandlerFactory
- java.lang.Object
-
- com.adaptris.core.http.apache5.ResponseHandlerFactoryImpl
-
- com.adaptris.core.http.apache5.MetadataResponseHandlerFactory
-
- All Implemented Interfaces:
ResponseHandlerFactory
public class MetadataResponseHandlerFactory extends ResponseHandlerFactoryImpl
ImplementationResponseHandlerFactorythat 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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.adaptris.core.http.apache5.ResponseHandlerFactoryImpl
ResponseHandlerFactoryImpl.ResponseHandlerImpl
-
-
Field Summary
-
Fields inherited from interface com.adaptris.core.http.apache5.ResponseHandlerFactory
OBJ_METADATA_PAYLOAD_MODIFIED
-
-
Constructor Summary
Constructors Constructor Description MetadataResponseHandlerFactory()MetadataResponseHandlerFactory(java.lang.String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.hc.core5.http.io.HttpClientResponseHandler<AdaptrisMessage>createResponseHandler(HttpProducer owner)java.lang.StringgetMetadataKey()voidsetMetadataKey(java.lang.String metadataKey)
-
-
-
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)
-
-