org.apache.camel.component.http
Class HttpComponent
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultComponent<HttpExchange>
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 $
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 |
HttpComponent
public HttpComponent()
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.