org.apache.camel.component.http
Class HttpConsumer

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultConsumer
          extended by org.apache.camel.component.http.HttpConsumer
All Implemented Interfaces:
org.apache.camel.Consumer, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.SuspendableService

public class HttpConsumer
extends org.apache.camel.impl.DefaultConsumer
implements org.apache.camel.SuspendableService

Version:

Field Summary
 
Fields inherited from class org.apache.camel.impl.DefaultConsumer
log
 
Constructor Summary
HttpConsumer(HttpEndpoint endpoint, org.apache.camel.Processor processor)
           
 
Method Summary
protected  void doStart()
           
protected  void doStop()
           
 HttpBinding getBinding()
           
 HttpEndpoint getEndpoint()
           
 String getPath()
           
 boolean isSuspended()
           
 boolean isTraceEnabled()
           
 void resume()
           
 void setTraceEnabled(boolean traceEnabled)
           
 void suspend()
           
 
Methods inherited from class org.apache.camel.impl.DefaultConsumer
getAsyncProcessor, getExceptionHandler, getProcessor, handleException, setExceptionHandler, toString
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspending, removeChildService, shutdown, start, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.Service
start, stop
 

Constructor Detail

HttpConsumer

public HttpConsumer(HttpEndpoint endpoint,
                    org.apache.camel.Processor processor)
Method Detail

getEndpoint

public HttpEndpoint getEndpoint()
Specified by:
getEndpoint in interface org.apache.camel.Consumer
Overrides:
getEndpoint in class org.apache.camel.impl.DefaultConsumer

getBinding

public HttpBinding getBinding()

getPath

public String getPath()

doStart

protected void doStart()
                throws Exception
Overrides:
doStart in class org.apache.camel.impl.DefaultConsumer
Throws:
Exception

doStop

protected void doStop()
               throws Exception
Overrides:
doStop in class org.apache.camel.impl.DefaultConsumer
Throws:
Exception

suspend

public void suspend()
Specified by:
suspend in interface org.apache.camel.SuspendableService
Overrides:
suspend in class org.apache.camel.impl.ServiceSupport

resume

public void resume()
Specified by:
resume in interface org.apache.camel.SuspendableService
Overrides:
resume in class org.apache.camel.impl.ServiceSupport

isSuspended

public boolean isSuspended()
Specified by:
isSuspended in interface org.apache.camel.SuspendableService
Overrides:
isSuspended in class org.apache.camel.impl.ServiceSupport

isTraceEnabled

public boolean isTraceEnabled()

setTraceEnabled

public void setTraceEnabled(boolean traceEnabled)


Apache CAMEL