org.apache.camel.component.jetty
Class JettyHttpComponent
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultComponent
org.apache.camel.impl.HeaderFilterStrategyComponent
org.apache.camel.component.http.HttpComponent
org.apache.camel.component.jetty.JettyHttpComponent
- All Implemented Interfaces:
- Component, Service, HeaderFilterStrategyAware
public class JettyHttpComponent
- extends HttpComponent
An HttpComponent which starts an embedded Jetty for to handle consuming from
the http endpoints.
- Version:
- $Revision: 792899 $
| Methods inherited from class org.apache.camel.impl.DefaultComponent |
convertTo, createEndpoint, createScheduledExecutorService, doStart, doStop, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getExecutorService, getScheduledExecutorService, ifStartsWithReturnRemainder, lookup, lookup, mandatoryConvertTo, mandatoryLookup, mandatoryLookup, newInstance, setCamelContext, setExecutorService, setProperties, validateParameters, validateURI |
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONNECTORS
protected static final HashMap<String,org.apache.camel.component.jetty.JettyHttpComponent.ConnectorRef> CONNECTORS
sslKeyPassword
protected String sslKeyPassword
sslPassword
protected String sslPassword
sslKeystore
protected String sslKeystore
sslSocketConnector
protected org.mortbay.jetty.security.SslSocketConnector sslSocketConnector
JettyHttpComponent
public JettyHttpComponent()
createEndpoint
protected Endpoint createEndpoint(String uri,
String remaining,
Map parameters)
throws Exception
- Overrides:
createEndpoint in class HttpComponent
- Throws:
Exception
connect
public void connect(HttpConsumer consumer)
throws Exception
- 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
- Disconnects the URL specified on the endpoint from the specified
processor.
- Overrides:
disconnect in class HttpComponent
- Throws:
Exception
getSslKeyPassword
public String getSslKeyPassword()
setSslKeyPassword
public void setSslKeyPassword(String sslKeyPassword)
getSslPassword
public String getSslPassword()
setSslPassword
public void setSslPassword(String sslPassword)
setKeystore
public void setKeystore(String sslKeystore)
getKeystore
public String getKeystore()
getSslSocketConnector
public org.mortbay.jetty.security.SslSocketConnector getSslSocketConnector()
setSslSocketConnector
public void setSslSocketConnector(org.mortbay.jetty.security.SslSocketConnector connector)
createServletForConnector
protected CamelServlet createServletForConnector(org.mortbay.jetty.Server server,
org.mortbay.jetty.Connector connector,
List<org.mortbay.jetty.Handler> handlers)
throws Exception
- Throws:
Exception
createServer
protected org.mortbay.jetty.Server createServer()
throws Exception
- Throws:
Exception
Apache CAMEL