public class SOAPContextMapper extends BaseRegexContextMapper<SOAPBindingData>
Modifier and Type | Field and Description |
---|---|
static List<String> |
HTTP_HEADERS_EXCLUDED
Headers to be excluded.
|
static String |
HTTP_RESPONSE_STATUS
The HTTP responce code.
|
Constructor and Description |
---|
SOAPContextMapper() |
Modifier and Type | Method and Description |
---|---|
org.switchyard.component.soap.composer.SOAPHeadersType |
getSOAPHeadersType()
Gets the SOAPHeadersType.
|
void |
mapFrom(SOAPBindingData source,
Context context)
Maps a source object's properties to the context.
|
void |
mapTo(Context context,
SOAPBindingData target)
Maps a context's properties into a target object.
|
SOAPBindingData |
mapToExchangeScope(Property property,
SOAPHeader soapHeader,
SOAPBindingData data) |
SOAPBindingData |
mapToMessageScope(Property property,
SOAPHeader soapHeader,
SOAPBindingData data) |
SOAPContextMapper |
setSOAPHeadersType(org.switchyard.component.soap.composer.SOAPHeadersType soapHeadersType)
Sets the SOAPHeadersType.
|
getIncludeRegexes, matches, matches, matches, setExcludeNamespaces, setExcludes, setIncludeNamespaces, setIncludes, setRegexPropagationList
getModel, setModel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getModel, setModel
public static final String HTTP_RESPONSE_STATUS
public org.switchyard.component.soap.composer.SOAPHeadersType getSOAPHeadersType()
public SOAPContextMapper setSOAPHeadersType(org.switchyard.component.soap.composer.SOAPHeadersType soapHeadersType)
soapHeadersType
- the SOAPHeadersTypepublic void mapFrom(SOAPBindingData source, Context context) throws Exception
mapFrom
in interface ContextMapper<SOAPBindingData>
mapFrom
in class BaseRegexContextMapper<SOAPBindingData>
source
- the object to map fromcontext
- the context to map toException
- if there was a problempublic SOAPBindingData mapToMessageScope(Property property, SOAPHeader soapHeader, SOAPBindingData data) throws Exception
Exception
public SOAPBindingData mapToExchangeScope(Property property, SOAPHeader soapHeader, SOAPBindingData data) throws Exception
Exception
public void mapTo(Context context, SOAPBindingData target) throws Exception
mapTo
in interface ContextMapper<SOAPBindingData>
mapTo
in class BaseRegexContextMapper<SOAPBindingData>
context
- the context to map fromtarget
- the target to map toException
- if there was a problemCopyright © 2013–2019 JBoss by Red Hat. All rights reserved.