public class RESTEasyMessageComposer extends BaseMessageComposer<RESTEasyBindingData>
| Constructor and Description |
|---|
RESTEasyMessageComposer() |
| Modifier and Type | Method and Description |
|---|---|
Message |
compose(RESTEasyBindingData source,
Exchange exchange)
Takes the data from the passed in source object and composes a SwithYardMessage based on the specified Exchange.
|
RESTEasyBindingData |
decompose(Exchange exchange,
RESTEasyBindingData target)
Takes the data from the SwitchYardMessage in the specified Exchange and decomposes it into the target object.
|
getContextMapper, getMessageType, setContextMapperpublic Message compose(RESTEasyBindingData source, Exchange exchange) throws Exception
source - the source objectexchange - the exchange to useException - if a problem happenspublic RESTEasyBindingData decompose(Exchange exchange, RESTEasyBindingData target) throws Exception
exchange - the exchange to usetarget - the target objectException - if a problem happensCopyright © 2013–2018 JBoss by Red Hat. All rights reserved.