public class CxfRsProducer
extends org.apache.camel.support.DefaultAsyncProducer
| Constructor and Description |
|---|
CxfRsProducer(CxfRsEndpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
protected org.apache.camel.component.cxf.jaxrs.CxfRsProducer.ClientFactoryBeanCache |
getClientFactoryBeanCache() |
protected void |
invokeAsyncHttpClient(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback) |
protected void |
invokeAsyncProxyClient(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback) |
protected void |
invokeHttpClient(org.apache.camel.Exchange exchange) |
protected void |
invokeProxyClient(org.apache.camel.Exchange exchange) |
protected Map<String,String> |
parseResponseHeaders(Object response,
org.apache.camel.Exchange camelExchange) |
protected CxfOperationException |
populateCxfRsProducerException(org.apache.camel.Exchange exchange,
javax.ws.rs.core.Response response,
int responseCode) |
void |
process(org.apache.camel.Exchange exchange) |
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback) |
protected void |
setupClientHeaders(org.apache.cxf.jaxrs.client.Client client,
org.apache.camel.Exchange exchange) |
protected void |
setupClientMatrix(org.apache.cxf.jaxrs.client.WebClient client,
org.apache.camel.Exchange exchange) |
protected void |
setupClientQueryAndHeaders(org.apache.cxf.jaxrs.client.WebClient client,
org.apache.camel.Exchange exchange) |
createExchange, getEndpoint, isSingleton, toStringbuild, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic CxfRsProducer(CxfRsEndpoint endpoint)
protected void doStart()
throws Exception
doStart in class org.apache.camel.support.DefaultProducerExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.DefaultProducerExceptionpublic void process(org.apache.camel.Exchange exchange)
throws Exception
process in interface org.apache.camel.Processorprocess in class org.apache.camel.support.DefaultAsyncProducerExceptionpublic boolean process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback)
protected void invokeAsyncHttpClient(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback)
throws Exception
Exceptionprotected void invokeAsyncProxyClient(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback)
throws Exception
Exceptionprotected void setupClientQueryAndHeaders(org.apache.cxf.jaxrs.client.WebClient client,
org.apache.camel.Exchange exchange)
throws Exception
Exceptionprotected void setupClientMatrix(org.apache.cxf.jaxrs.client.WebClient client,
org.apache.camel.Exchange exchange)
throws Exception
Exceptionprotected void setupClientHeaders(org.apache.cxf.jaxrs.client.Client client,
org.apache.camel.Exchange exchange)
throws Exception
Exceptionprotected void invokeHttpClient(org.apache.camel.Exchange exchange)
throws Exception
Exceptionprotected void invokeProxyClient(org.apache.camel.Exchange exchange)
throws Exception
Exceptionprotected org.apache.camel.component.cxf.jaxrs.CxfRsProducer.ClientFactoryBeanCache getClientFactoryBeanCache()
protected CxfOperationException populateCxfRsProducerException(org.apache.camel.Exchange exchange, javax.ws.rs.core.Response response, int responseCode)
Apache Camel