public class ResteasyProducer
extends org.apache.camel.support.DefaultProducer
| Constructor and Description |
|---|
ResteasyProducer(ResteasyEndpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
void |
doWriteResponse(org.apache.camel.Exchange exchange,
javax.ws.rs.core.Response response,
org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) |
protected static Map<String,String> |
getParameters(org.apache.camel.Exchange exchange,
ResteasyEndpoint endpoint)
Method for getting specific Camel-Resteasy options from endpoint and headers in exchange and returning the
correct values as Map.
|
void |
process(org.apache.camel.Exchange exchange) |
createExchange, doStart, doStop, 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 ResteasyProducer(ResteasyEndpoint endpoint)
protected static Map<String,String> getParameters(org.apache.camel.Exchange exchange, ResteasyEndpoint endpoint)
exchange - camel exchangeendpoint - endpoint on which the exchange camepublic void doWriteResponse(org.apache.camel.Exchange exchange,
javax.ws.rs.core.Response response,
org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
Apache Camel