org.apache.camel.component.http
Class JettyHttpComponent
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultComponent<HttpExchange>
org.apache.camel.component.http.HttpComponent
org.apache.camel.component.http.JettyHttpComponent
- All Implemented Interfaces:
- org.apache.camel.Component<HttpExchange>, org.apache.camel.Service
public class JettyHttpComponent
- extends HttpComponent
An HttpComponent which starts an embedded Jetty for to handle consuming from
http endpoints.
- Version:
- $Revision: 525142 $
Method Summary |
void |
connect(HttpConsumer consumer)
Connects the URL specified on the endpoint to the specified processor. |
void |
disconnect(HttpConsumer consumer)
Disconnects the URL specified on the endpoint from the specified processor. |
protected void |
doStart()
|
protected void |
doStop()
|
Methods inherited from class org.apache.camel.impl.DefaultComponent |
createEndpoint, createExecutorService, getCamelContext, getExecutorService, setCamelContext, setExecutorService |
Methods inherited from class org.apache.camel.impl.ServiceSupport |
isStarted, isStopped, isStopping, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JettyHttpComponent
public JettyHttpComponent()
doStart
protected void doStart()
throws Exception
- Overrides:
doStart
in class org.apache.camel.impl.DefaultComponent<HttpExchange>
- Throws:
Exception
doStop
protected void doStop()
throws Exception
- Overrides:
doStop
in class org.apache.camel.impl.DefaultComponent<HttpExchange>
- Throws:
Exception
connect
public void connect(HttpConsumer consumer)
throws Exception
- Description copied from class:
HttpComponent
- Connects the URL specified on the endpoint to the specified processor.
- Overrides:
connect
in class HttpComponent
- Throws:
Exception
disconnect
public void disconnect(HttpConsumer consumer)
throws Exception
- Description copied from class:
HttpComponent
- Disconnects the URL specified on the endpoint from the specified processor.
- Overrides:
disconnect
in class HttpComponent
- Throws:
Exception
Copyright © 2007 Apache Software Foundation. All Rights Reserved.