org.apache.camel.component.http
Class HttpComponent

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultComponent<HttpExchange>
          extended by org.apache.camel.component.http.HttpComponent
All Implemented Interfaces:
org.apache.camel.Component<HttpExchange>, org.apache.camel.Service
Direct Known Subclasses:
JettyHttpComponent

public class HttpComponent
extends org.apache.camel.impl.DefaultComponent<HttpExchange>

Defines the HTTP Component

Version:
$Revision: 563665 $

Constructor Summary
HttpComponent()
           
 
Method Summary
 void connect(HttpConsumer consumer)
          Connects the URL specified on the endpoint to the specified processor.
protected  org.apache.camel.Endpoint<HttpExchange> createEndpoint(String uri, String remaining, Map parameters)
           
 void disconnect(HttpConsumer consumer)
          Disconnects the URL specified on the endpoint from the specified processor.
 CamelServlet getCamelServlet()
           
 void setCamelServlet(CamelServlet camelServlet)
           
 
Methods inherited from class org.apache.camel.impl.DefaultComponent
createEndpoint, createExecutorService, doStart, doStop, getCamelContext, getExecutorService, setCamelContext, setExecutorService
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, getThreadName, isStarted, isStopped, isStopping, nextThreadCounter, removeChildService, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpComponent

public HttpComponent()
Method Detail

connect

public void connect(HttpConsumer consumer)
             throws Exception
Connects the URL specified on the endpoint to the specified processor.

Throws:
Exception

disconnect

public void disconnect(HttpConsumer consumer)
                throws Exception
Disconnects the URL specified on the endpoint from the specified processor.

Throws:
Exception

getCamelServlet

public CamelServlet getCamelServlet()

setCamelServlet

public void setCamelServlet(CamelServlet camelServlet)

createEndpoint

protected org.apache.camel.Endpoint<HttpExchange> createEndpoint(String uri,
                                                                 String remaining,
                                                                 Map parameters)
                                                          throws Exception
Specified by:
createEndpoint in class org.apache.camel.impl.DefaultComponent<HttpExchange>
Throws:
Exception


Copyright © 2007 Apache Software Foundation. All Rights Reserved.