org.apache.camel.component.netty.http
Class NettyHttpComponent
java.lang.Object
org.apache.camel.support.ServiceSupport
org.apache.camel.impl.DefaultComponent
org.apache.camel.component.netty.NettyComponent
org.apache.camel.component.netty.http.NettyHttpComponent
- All Implemented Interfaces:
- org.apache.camel.CamelContextAware, org.apache.camel.Component, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.spi.HeaderFilterStrategyAware, org.apache.camel.StatefulService, org.apache.camel.SuspendableService
public class NettyHttpComponent
- extends org.apache.camel.component.netty.NettyComponent
- implements org.apache.camel.spi.HeaderFilterStrategyAware
Netty HTTP based component.
Fields inherited from class org.apache.camel.support.ServiceSupport |
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending |
Methods inherited from class org.apache.camel.component.netty.NettyComponent |
createExecutorService, getConfiguration, getExecutorService, getTimer, setConfiguration |
Methods inherited from class org.apache.camel.impl.DefaultComponent |
afterConfiguration, createComponentConfiguration, createConfiguration, createEndpoint, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI |
Methods inherited from class org.apache.camel.support.ServiceSupport |
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NettyHttpComponent
public NettyHttpComponent()
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.netty.NettyComponent
- Throws:
Exception
parseConfiguration
protected org.apache.camel.component.netty.NettyConfiguration parseConfiguration(org.apache.camel.component.netty.NettyConfiguration configuration,
String remaining,
Map<String,Object> parameters)
throws Exception
- Overrides:
parseConfiguration
in class org.apache.camel.component.netty.NettyComponent
- Throws:
Exception
getNettyHttpBinding
public NettyHttpBinding getNettyHttpBinding()
setNettyHttpBinding
public void setNettyHttpBinding(NettyHttpBinding nettyHttpBinding)
getHeaderFilterStrategy
public org.apache.camel.spi.HeaderFilterStrategy getHeaderFilterStrategy()
- Specified by:
getHeaderFilterStrategy
in interface org.apache.camel.spi.HeaderFilterStrategyAware
setHeaderFilterStrategy
public void setHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
- Specified by:
setHeaderFilterStrategy
in interface org.apache.camel.spi.HeaderFilterStrategyAware
getSecurityConfiguration
public NettyHttpSecurityConfiguration getSecurityConfiguration()
setSecurityConfiguration
public void setSecurityConfiguration(NettyHttpSecurityConfiguration securityConfiguration)
getMultiplexChannelHandler
public HttpServerConsumerChannelFactory getMultiplexChannelHandler(int port)
getOrCreateHttpNettyServerBootstrapFactory
protected HttpServerBootstrapFactory getOrCreateHttpNettyServerBootstrapFactory(NettyHttpConsumer consumer)
doStart
protected void doStart()
throws Exception
- Overrides:
doStart
in class org.apache.camel.component.netty.NettyComponent
- Throws:
Exception
doStop
protected void doStop()
throws Exception
- Overrides:
doStop
in class org.apache.camel.component.netty.NettyComponent
- Throws:
Exception
Apache Camel