org.apache.camel.component.servlet
Class ServletComponent
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.servlet.ServletComponent
- All Implemented Interfaces:
- org.apache.camel.CamelContextAware, org.apache.camel.Component, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.spi.HeaderFilterStrategyAware
public class ServletComponent
- extends org.apache.camel.component.http.HttpComponent
Fields inherited from class org.apache.camel.component.http.HttpComponent |
httpBinding, httpClientConfigurer, httpConfiguration, httpConnectionManager |
Methods inherited from class org.apache.camel.component.http.HttpComponent |
configureAuth, configureProxyAuth, createHttpClientConfigurer, getHttpBinding, getHttpClientConfigurer, getHttpConfiguration, getHttpConnectionManager, setHttpBinding, setHttpClientConfigurer, setHttpConfiguration, setHttpConnectionManager, useIntrospectionOnEndpoint |
Methods inherited from class org.apache.camel.impl.HeaderFilterStrategyComponent |
getHeaderFilterStrategy, setEndpointHeaderFilterStrategy, setHeaderFilterStrategy |
Methods inherited from class org.apache.camel.impl.DefaultComponent |
afterConfiguration, createEndpoint, doStart, doStop, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, validateParameters, validateURI |
Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, start, stop, suspend |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletComponent
public ServletComponent()
getServletName
public String getServletName()
setServletName
public void setServletName(String servletName)
setHttpRegistry
public void setHttpRegistry(HttpRegistry httpRegistry)
createEndpoint
protected org.apache.camel.Endpoint createEndpoint(String uri,
String remaining,
Map<String,Object> parameters)
throws Exception
- Overrides:
createEndpoint
in class org.apache.camel.component.http.HttpComponent
- Throws:
Exception
createServletEndpoint
protected ServletEndpoint createServletEndpoint(String endpointUri,
ServletComponent component,
URI httpUri,
org.apache.commons.httpclient.params.HttpClientParams params,
org.apache.commons.httpclient.HttpConnectionManager httpConnectionManager,
org.apache.camel.component.http.HttpClientConfigurer clientConfigurer)
throws Exception
- Strategy to create the servlet endpoint.
- Throws:
Exception
connect
public void connect(org.apache.camel.component.http.HttpConsumer consumer)
throws Exception
- Overrides:
connect
in class org.apache.camel.component.http.HttpComponent
- Throws:
Exception
disconnect
public void disconnect(org.apache.camel.component.http.HttpConsumer consumer)
throws Exception
- Overrides:
disconnect
in class org.apache.camel.component.http.HttpComponent
- Throws:
Exception
Apache CAMEL