public class REST2SOAPInterceptor extends AbstractInterceptor
| Modifier and Type | Class and Description |
|---|---|
static class |
REST2SOAPInterceptor.Mapping |
Interceptor.Flowid, name, router| Constructor and Description |
|---|
REST2SOAPInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected StreamSource |
getExchangeXMLSource(Exchange exc) |
List<REST2SOAPInterceptor.Mapping> |
getMappings() |
protected StreamSource |
getRequestXMLSource(Exchange exc) |
String |
getShortDescription() |
protected XSLTTransformer |
getTransformer(String ss) |
Outcome |
handleRequest(Exchange exc) |
Outcome |
handleResponse(Exchange exc) |
void |
setMappings(List<REST2SOAPInterceptor.Mapping> mappings) |
protected void |
transformAndReplaceBody(Message msg,
String ss,
Source src,
Map<String,String> properties) |
getDisplayName, getFlow, getHelpId, getId, getLongDescription, getRouter, getRule, handleAbort, init, init, setDisplayName, setFlow, setIdpublic Outcome handleRequest(Exchange exc) throws Exception
handleRequest in interface InterceptorhandleRequest in class AbstractInterceptorExceptionpublic Outcome handleResponse(Exchange exc) throws Exception
handleResponse in interface InterceptorhandleResponse in class AbstractInterceptorExceptionpublic List<REST2SOAPInterceptor.Mapping> getMappings()
public void setMappings(List<REST2SOAPInterceptor.Mapping> mappings)
public String getShortDescription()
getShortDescription in interface InterceptorgetShortDescription in class AbstractInterceptorprotected XSLTTransformer getTransformer(String ss) throws Exception
Exceptionprotected StreamSource getRequestXMLSource(Exchange exc) throws Exception
Exceptionprotected StreamSource getExchangeXMLSource(Exchange exc) throws Exception
ExceptionCopyright © 2022. All Rights Reserved.