|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CxfRsBinding
Interface to bind between Camel and CXF exchange for RESTful resources.
| Method Summary | |
|---|---|
javax.ws.rs.core.MultivaluedMap<String,String> |
bindCamelHeadersToRequestHeaders(Map<String,Object> camelHeaders,
Exchange camelExchange)
Bind the camel headers to request headers that gets passed to CXF RS WebClient APIs. |
Object |
bindCamelMessageBodyToRequestBody(Message camelMessage,
Exchange camelExchange)
Bind the camel in message body to a request body that gets passed to CXF RS WebClient APIs. |
Map<String,Object> |
bindResponseHeadersToCamelHeaders(Object response,
Exchange exchange)
Bind the response headers to camel out headers. |
Object |
bindResponseToCamelBody(Object response,
Exchange camelExchange)
Bind the HTTP response body to camel out body |
Object |
populateCxfRsResponseFromExchange(Exchange camelExchange,
org.apache.cxf.message.Exchange cxfExchange)
Populate the CxfRsResponse object from the camel exchange |
void |
populateExchangeFromCxfRsRequest(org.apache.cxf.message.Exchange cxfExchange,
Exchange camelExchange,
Method method,
Object[] paramArray)
Populate the camel exchange from the CxfRsRequest, the exchange will be consumed by the processor which the CxfRsConsumer attached. |
| Method Detail |
|---|
void populateExchangeFromCxfRsRequest(org.apache.cxf.message.Exchange cxfExchange,
Exchange camelExchange,
Method method,
Object[] paramArray)
camelExchange - camel exchange objectcxfExchange - cxf exchange objectmethod - the method which is need for the camel componentparamArray - the parameter list for the method invocation
Object populateCxfRsResponseFromExchange(Exchange camelExchange,
org.apache.cxf.message.Exchange cxfExchange)
throws Exception
camelExchange - camel exchange objectcxfExchange - cxf exchange object
Exception
Object bindCamelMessageBodyToRequestBody(Message camelMessage,
Exchange camelExchange)
throws Exception
WebClient APIs.
camelMessage - the source messagecamelExchange - the Camel exchange
Exception
javax.ws.rs.core.MultivaluedMap<String,String> bindCamelHeadersToRequestHeaders(Map<String,Object> camelHeaders,
Exchange camelExchange)
throws Exception
WebClient APIs.
camelHeaders - the source headerscamelExchange - the Camel exchangeheaders - to be passed to WebClient
Exception
Object bindResponseToCamelBody(Object response,
Exchange camelExchange)
throws Exception
response - exchange -
Exception
Map<String,Object> bindResponseHeadersToCamelHeaders(Object response,
Exchange exchange)
throws Exception
response - exchange -
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||