org.apache.camel.component.netty.http
Class NettyHttpEndpoint
java.lang.Object
org.apache.camel.support.ServiceSupport
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.component.netty.NettyEndpoint
org.apache.camel.component.netty.http.NettyHttpEndpoint
- All Implemented Interfaces:
- org.apache.camel.CamelContextAware, org.apache.camel.Endpoint, org.apache.camel.IsSingleton, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.spi.HasId, org.apache.camel.spi.HeaderFilterStrategyAware, org.apache.camel.StatefulService, org.apache.camel.SuspendableService
public class NettyHttpEndpoint
- extends org.apache.camel.component.netty.NettyEndpoint
- implements org.apache.camel.spi.HeaderFilterStrategyAware
HTTP based NettyEndpoint
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.NettyEndpoint |
createEndpointUri, enrichWithClientCertInformation, getSSLSession, getTimer, isSingleton, setConfiguration, setTimer, updateMessageHeader |
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createExchange, createExchange, createExchange, doStop, equals, getCamelContext, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, hashCode, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setProperties, setSynchronous, toString |
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 interface org.apache.camel.Service |
start, stop |
NettyHttpEndpoint
public NettyHttpEndpoint(String endpointUri,
NettyHttpComponent component,
org.apache.camel.component.netty.NettyConfiguration configuration)
getComponent
public NettyHttpComponent getComponent()
- Overrides:
getComponent
in class org.apache.camel.component.netty.NettyEndpoint
createConsumer
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
- Specified by:
createConsumer
in interface org.apache.camel.Endpoint
- Overrides:
createConsumer
in class org.apache.camel.component.netty.NettyEndpoint
- Throws:
Exception
createProducer
public org.apache.camel.Producer createProducer()
throws Exception
- Specified by:
createProducer
in interface org.apache.camel.Endpoint
- Overrides:
createProducer
in class org.apache.camel.component.netty.NettyEndpoint
- Throws:
Exception
createPollingConsumer
public org.apache.camel.PollingConsumer createPollingConsumer()
throws Exception
- Specified by:
createPollingConsumer
in interface org.apache.camel.Endpoint
- Overrides:
createPollingConsumer
in class org.apache.camel.impl.DefaultEndpoint
- Throws:
Exception
createExchange
public org.apache.camel.Exchange createExchange(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent messageEvent)
throws Exception
- Overrides:
createExchange
in class org.apache.camel.component.netty.NettyEndpoint
- Throws:
Exception
isLenientProperties
public boolean isLenientProperties()
- Specified by:
isLenientProperties
in interface org.apache.camel.Endpoint
- Overrides:
isLenientProperties
in class org.apache.camel.impl.DefaultEndpoint
getConfiguration
public NettyHttpConfiguration getConfiguration()
- Overrides:
getConfiguration
in class org.apache.camel.component.netty.NettyEndpoint
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
isTraceEnabled
public boolean isTraceEnabled()
setTraceEnabled
public void setTraceEnabled(boolean traceEnabled)
getHttpMethodRestrict
public String getHttpMethodRestrict()
setHttpMethodRestrict
public void setHttpMethodRestrict(String httpMethodRestrict)
getNettySharedHttpServer
public NettySharedHttpServer getNettySharedHttpServer()
setNettySharedHttpServer
public void setNettySharedHttpServer(NettySharedHttpServer nettySharedHttpServer)
getSecurityConfiguration
public NettyHttpSecurityConfiguration getSecurityConfiguration()
setSecurityConfiguration
public void setSecurityConfiguration(NettyHttpSecurityConfiguration securityConfiguration)
doStart
protected void doStart()
throws Exception
- Overrides:
doStart
in class org.apache.camel.component.netty.NettyEndpoint
- Throws:
Exception
Apache Camel