org.apache.camel.component.http
Class HttpConsumer

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

public class HttpConsumer
extends DefaultConsumer<HttpExchange>

Version:
$Revision: 630591 $

Constructor Summary
HttpConsumer(HttpEndpoint endpoint, Processor processor)
           
 
Method Summary
protected  void doStart()
           
protected  void doStop()
           
 HttpBinding getBinding()
           
 HttpEndpoint getEndpoint()
           
 String getPath()
           
 
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, getThreadName, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, nextThreadCounter, removeChildService, 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,
                    Processor processor)
Method Detail

getEndpoint

public HttpEndpoint getEndpoint()
Overrides:
getEndpoint in class DefaultConsumer<HttpExchange>

getBinding

public HttpBinding getBinding()

getPath

public String getPath()

doStart

protected void doStart()
                throws Exception
Overrides:
doStart in class DefaultConsumer<HttpExchange>
Throws:
Exception

doStop

protected void doStop()
               throws Exception
Overrides:
doStop in class DefaultConsumer<HttpExchange>
Throws:
Exception


Apache CAMEL