@ComponentProfile(summary="Create the query portion of a URL from metadata", tag="service,metadata,http,https") public class CreateQueryStringFromMetadata extends UrlEncodedMetadataValues
In the adapter configuration file this class is aliased as create-query-string-from-metadata which is the preferred alternative to the fully qualified classname when building your configuration.
AMPERSAND
log
CONFIRMATION_ID_KEY
Constructor and Description |
---|
CreateQueryStringFromMetadata() |
Modifier and Type | Method and Description |
---|---|
void |
doService(AdaptrisMessage msg)
Apply the service to the message.
|
java.lang.Boolean |
getIncludeQueryPrefix() |
java.lang.String |
getQuerySeparator()
Deprecated.
|
java.lang.String |
getResultKey() |
void |
prepare()
Prepare for initialisation.
|
protected java.lang.String |
separator() |
void |
setIncludeQueryPrefix(java.lang.Boolean b)
Whether or not to include the standard query prefix
|
void |
setQuerySeparator(java.lang.String s)
Deprecated.
|
void |
setResultKey(java.lang.String resultKey) |
buildEncodedString, closeService, getMetadataFilter, getSeparator, initService, setMetadataFilter, setSeparator, withMetadataFilter, withQuerySeparator
changeState, close, continueOnFailure, createName, createQualifier, getContinueOnFail, getIsTrackingEndpoint, getLookupName, getUniqueId, init, isBranching, isTrackingEndpoint, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, setContinueOnFail, setIsTrackingEndpoint, setLookupName, setUniqueId, start, stop
public void prepare() throws CoreException
ComponentLifecycleExtension
prepare
in interface ComponentLifecycleExtension
prepare
in class UrlEncodedMetadataValues
CoreException
public void doService(AdaptrisMessage msg) throws ServiceException
Service
Apply the service to the message.
msg
- the AdaptrisMessage
to processServiceException
- wrapping any underlying Exception
sprotected java.lang.String separator()
separator
in class UrlEncodedMetadataValues
public java.lang.String getResultKey()
public void setResultKey(java.lang.String resultKey)
public java.lang.Boolean getIncludeQueryPrefix()
public void setIncludeQueryPrefix(java.lang.Boolean b)
b
- @Deprecated @Removal(version="3.11.0", message="use separator instead") public java.lang.String getQuerySeparator()
@Deprecated @Removal(version="3.11.0", message="use separator instead") public void setQuerySeparator(java.lang.String s)