public class HttpConsumer
extends org.apache.camel.impl.DefaultConsumer
implements org.apache.camel.Suspendable
Constructor and Description |
---|
HttpConsumer(HttpCommonEndpoint endpoint,
org.apache.camel.Processor processor) |
Modifier and Type | Method and Description |
---|---|
protected void |
doResume() |
protected void |
doStart() |
protected void |
doStop() |
protected void |
doSuspend() |
HttpBinding |
getBinding() |
HttpCommonEndpoint |
getEndpoint() |
String |
getPath() |
boolean |
isOptionsEnabled() |
boolean |
isSuspended() |
boolean |
isTraceEnabled() |
void |
setOptionsEnabled(boolean optionsEnabled) |
void |
setTraceEnabled(boolean traceEnabled) |
createUoW, doneUoW, getAsyncProcessor, getExceptionHandler, getProcessor, getRoute, handleException, handleException, setExceptionHandler, setRoute, toString
doShutdown, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public HttpConsumer(HttpCommonEndpoint endpoint, org.apache.camel.Processor processor)
public HttpCommonEndpoint getEndpoint()
getEndpoint
in interface org.apache.camel.EndpointAware
getEndpoint
in class org.apache.camel.impl.DefaultConsumer
public HttpBinding getBinding()
public String getPath()
protected void doStart() throws Exception
doStart
in class org.apache.camel.impl.DefaultConsumer
Exception
protected void doStop() throws Exception
doStop
in class org.apache.camel.impl.DefaultConsumer
Exception
protected void doSuspend() throws Exception
doSuspend
in class org.apache.camel.support.ServiceSupport
Exception
protected void doResume() throws Exception
doResume
in class org.apache.camel.support.ServiceSupport
Exception
public boolean isSuspended()
isSuspended
in interface org.apache.camel.SuspendableService
isSuspended
in class org.apache.camel.support.ServiceSupport
public boolean isTraceEnabled()
public void setTraceEnabled(boolean traceEnabled)
public boolean isOptionsEnabled()
public void setOptionsEnabled(boolean optionsEnabled)
Apache Camel