|
||||||||||
| 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,
org.apache.camel.Exchange camelExchange)
Bind the camel headers to request headers that gets passed to CXF RS WebClient APIs. |
Object |
bindCamelMessageBodyToRequestBody(org.apache.camel.Message camelMessage,
org.apache.camel.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,
org.apache.camel.Exchange camelExchange)
Bind the response headers to camel out headers. |
Object |
bindResponseToCamelBody(Object response,
org.apache.camel.Exchange camelExchange)
Bind the HTTP response body to camel out body |
Object |
populateCxfRsResponseFromExchange(org.apache.camel.Exchange camelExchange,
org.apache.cxf.message.Exchange cxfExchange)
Populate the CxfRsResponse object from the camel exchange |
void |
populateExchangeFromCxfRsRequest(org.apache.cxf.message.Exchange cxfExchange,
org.apache.camel.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,
org.apache.camel.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(org.apache.camel.Exchange camelExchange,
org.apache.cxf.message.Exchange cxfExchange)
throws Exception
camelExchange - camel exchange objectcxfExchange - cxf exchange object
Exception - can be thrown if error in the binding process
Object bindCamelMessageBodyToRequestBody(org.apache.camel.Message camelMessage,
org.apache.camel.Exchange camelExchange)
throws Exception
WebClient APIs.
camelMessage - the source messagecamelExchange - the Camel exchange
Exception - can be thrown if error in the binding process
javax.ws.rs.core.MultivaluedMap<String,String> bindCamelHeadersToRequestHeaders(Map<String,Object> camelHeaders,
org.apache.camel.Exchange camelExchange)
throws Exception
WebClient APIs.
camelHeaders - the source headerscamelExchange - the Camel exchange
Exception - can be thrown if error in the binding process
Object bindResponseToCamelBody(Object response,
org.apache.camel.Exchange camelExchange)
throws Exception
response - the responsecamelExchange - the exchange
Exception - can be thrown if error in the binding process
Map<String,Object> bindResponseHeadersToCamelHeaders(Object response,
org.apache.camel.Exchange camelExchange)
throws Exception
response - the responsecamelExchange - the exchange
Exception - can be thrown if error in the binding process
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||