org.littleshoot.proxy
Class HttpServerPipelineFactory

java.lang.Object
  extended by 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, String chainProxyHostAndPort, KeyStoreManager ksm, RelayPipelineFactoryFactory relayPipelineFactoryFactory)
          Creates a new pipeline factory with the specified class for processing proxy authentication.
 
Method Summary
 int getNumRequestHandlers()
           
 org.jboss.netty.channel.ChannelPipeline getPipeline()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpServerPipelineFactory

public 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.

Parameters:
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.
Method Detail

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-2011 LittleShoot. All Rights Reserved.