Class FormDataFromMetadata
- java.lang.Object
-
- com.adaptris.core.ServiceImp
-
- com.adaptris.core.services.metadata.UrlEncodedMetadataValues
-
- com.adaptris.core.services.metadata.FormDataFromMetadata
-
- All Implemented Interfaces:
AdaptrisComponent
,ComponentLifecycle
,ComponentLifecycleExtension
,MessageEventGenerator
,Service
,StateManagedComponent
@ComponentProfile(summary="Create a application/x-www-url-form-encoded payload from metadata", tag="service,metadata,http,https", since="3.9.0") public class FormDataFromMetadata extends UrlEncodedMetadataValues
Service that creates something suitable to send asapplication/x-www-url-form-encoded
from metadata.In the adapter configuration file this class is aliased as www-url-form-encoded-payload-from-metadata which is the preferred alternative to the fully qualified classname when building your configuration.
-
-
Field Summary
-
Fields inherited from class com.adaptris.core.services.metadata.UrlEncodedMetadataValues
AMPERSAND
-
Fields inherited from class com.adaptris.core.ServiceImp
log
-
-
Constructor Summary
Constructors Constructor Description FormDataFromMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doService(AdaptrisMessage msg)
Apply the service to the message.-
Methods inherited from class com.adaptris.core.services.metadata.UrlEncodedMetadataValues
buildEncodedString, closeService, getMetadataFilter, getSeparator, initService, prepare, separator, setMetadataFilter, setSeparator, withMetadataFilter, withQuerySeparator
-
Methods inherited from class com.adaptris.core.ServiceImp
changeState, close, continueOnFailure, createName, createQualifier, getContinueOnFail, getIsTrackingEndpoint, getUniqueId, init, isBranching, isTrackingEndpoint, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, setContinueOnFail, setIsTrackingEndpoint, setUniqueId, start, stop
-
-
-
-
Method Detail
-
doService
public void doService(AdaptrisMessage msg) throws ServiceException
Description copied from interface:Service
Apply the service to the message.
- Parameters:
msg
- theAdaptrisMessage
to process- Throws:
ServiceException
- wrapping any underlyingException
s
-
-