public class HttpServerPipelineFactory extends Object implements org.jboss.netty.channel.ChannelPipelineFactory, AllConnectionData
Constructor and Description |
---|
HttpServerPipelineFactory(ProxyAuthorizationManager authorizationManager,
org.jboss.netty.channel.group.ChannelGroup channelGroup,
String chainProxyHostAndPort,
KeyStoreManager ksm,
RelayPipelineFactoryFactory relayPipelineFactoryFactory)
Creates a new pipeline factory with the specified class for processing
proxy authentication.
|
Modifier and Type | Method and Description |
---|---|
int |
getNumRequestHandlers() |
org.jboss.netty.channel.ChannelPipeline |
getPipeline() |
public HttpServerPipelineFactory(ProxyAuthorizationManager authorizationManager, org.jboss.netty.channel.group.ChannelGroup channelGroup, String chainProxyHostAndPort, KeyStoreManager ksm, RelayPipelineFactoryFactory relayPipelineFactoryFactory)
authorizationManager
- The manager for proxy authentication.channelGroup
- The group that keeps track of open channels.filters
- HTTP filters to apply.chainProxyHostAndPort
- upstream proxy server host and port or
null
if none used.isSsl
- Whether or not to use SSL/TLS.public org.jboss.netty.channel.ChannelPipeline getPipeline() throws Exception
getPipeline
in interface org.jboss.netty.channel.ChannelPipelineFactory
Exception
public int getNumRequestHandlers()
getNumRequestHandlers
in interface AllConnectionData
Copyright © 2009–2015 LittleShoot. All rights reserved.