org.littleshoot.proxy
Class HttpServerPipelineFactory
java.lang.Object
org.littleshoot.proxy.HttpServerPipelineFactory
- All Implemented Interfaces:
- org.jboss.netty.channel.ChannelPipelineFactory, AllConnectionData
public class HttpServerPipelineFactory
- extends Object
- implements org.jboss.netty.channel.ChannelPipelineFactory, AllConnectionData
Factory for creating pipelines for incoming requests to our listening
socket.
|
Constructor Summary |
HttpServerPipelineFactory(ProxyAuthorizationManager authorizationManager,
org.jboss.netty.channel.group.ChannelGroup channelGroup,
ChainProxyManager chainProxyManager,
HandshakeHandlerFactory handshakeHandlerFactory,
RelayPipelineFactoryFactory relayPipelineFactoryFactory,
org.jboss.netty.util.Timer timer,
org.jboss.netty.channel.socket.ClientSocketChannelFactory clientChannelFactory)
Creates a new pipeline factory with the specified class for processing
proxy authentication. |
HttpServerPipelineFactory(ProxyAuthorizationManager authorizationManager,
org.jboss.netty.channel.group.ChannelGroup channelGroup,
ChainProxyManager chainProxyManager,
HandshakeHandlerFactory handshakeHandlerFactory,
RelayPipelineFactoryFactory relayPipelineFactoryFactory,
org.jboss.netty.util.Timer timer,
org.jboss.netty.channel.socket.ClientSocketChannelFactory clientChannelFactory,
ProxyCacheManager proxyCacheManager)
Creates a new pipeline factory with the specified class for processing
proxy authentication. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpServerPipelineFactory
public HttpServerPipelineFactory(ProxyAuthorizationManager authorizationManager,
org.jboss.netty.channel.group.ChannelGroup channelGroup,
ChainProxyManager chainProxyManager,
HandshakeHandlerFactory handshakeHandlerFactory,
RelayPipelineFactoryFactory relayPipelineFactoryFactory,
org.jboss.netty.util.Timer timer,
org.jboss.netty.channel.socket.ClientSocketChannelFactory clientChannelFactory)
- Creates a new pipeline factory with the specified class for processing
proxy authentication.
- Parameters:
authorizationManager - The manager for proxy authentication.channelGroup - The group that keeps track of open channels.chainProxyManager - upstream proxy server host and port or
null if none used.ksm - The KeyStore manager.relayPipelineFactoryFactory - The relay pipeline factory factory.timer - The global timer for timing out idle connections.clientChannelFactory - The factory for creating outgoing channels
to external sites.
HttpServerPipelineFactory
public HttpServerPipelineFactory(ProxyAuthorizationManager authorizationManager,
org.jboss.netty.channel.group.ChannelGroup channelGroup,
ChainProxyManager chainProxyManager,
HandshakeHandlerFactory handshakeHandlerFactory,
RelayPipelineFactoryFactory relayPipelineFactoryFactory,
org.jboss.netty.util.Timer timer,
org.jboss.netty.channel.socket.ClientSocketChannelFactory clientChannelFactory,
ProxyCacheManager proxyCacheManager)
- Creates a new pipeline factory with the specified class for processing
proxy authentication.
- Parameters:
authorizationManager - The manager for proxy authentication.channelGroup - The group that keeps track of open channels.chainProxyManager - upstream proxy server host and port or
null if none used.ksm - The KeyStore manager.relayPipelineFactoryFactory - The relay pipeline factory factory.timer - The global timer for timing out idle connections.clientChannelFactory - The factory for creating outgoing channels
to external sites.
getPipeline
public org.jboss.netty.channel.ChannelPipeline getPipeline()
throws Exception
- Specified by:
getPipeline in interface org.jboss.netty.channel.ChannelPipelineFactory
- Throws:
Exception
getNumRequestHandlers
public int getNumRequestHandlers()
- Specified by:
getNumRequestHandlers in interface AllConnectionData
Copyright © 2009-2013 LittleShoot. All Rights Reserved.