|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RestletBinding
Interface for converting between Camel message and Restlet message.
Method Summary | |
---|---|
void |
populateExchangeFromRestletRequest(org.restlet.Request request,
org.restlet.Response response,
org.apache.camel.Exchange exchange)
Populate Camel message from Restlet request |
void |
populateExchangeFromRestletResponse(org.apache.camel.Exchange exchange,
org.restlet.Response response)
Populate Camel message from Restlet response |
void |
populateRestletRequestFromExchange(org.restlet.Request request,
org.apache.camel.Exchange exchange)
Populate Restlet Request from Camel message |
void |
populateRestletResponseFromExchange(org.apache.camel.Exchange exchange,
org.restlet.Response response)
Populate Restlet request from Camel message |
Method Detail |
---|
void populateRestletResponseFromExchange(org.apache.camel.Exchange exchange, org.restlet.Response response) throws Exception
exchange
- message to be copied fromresponse
- to be populated
Exception
- is thrown if error processingvoid populateExchangeFromRestletRequest(org.restlet.Request request, org.restlet.Response response, org.apache.camel.Exchange exchange) throws Exception
request
- message to be copied fromresponse
- the responseexchange
- to be populated @throws Exception is thrown if error processing
Exception
- is thrown if error processingvoid populateRestletRequestFromExchange(org.restlet.Request request, org.apache.camel.Exchange exchange)
request
- to be populatedexchange
- message to be copied fromvoid populateExchangeFromRestletResponse(org.apache.camel.Exchange exchange, org.restlet.Response response) throws Exception
exchange
- to be populatedresponse
- message to be copied from
Exception
- is thrown if error processing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |