org.littleshoot.proxy
Interface HttpRelayingHandlerFactory


public interface HttpRelayingHandlerFactory

Factory for creating classes that relay responses back to the browser.


Method Summary
 org.jboss.netty.channel.ChannelHandler newHandler(org.jboss.netty.channel.Channel browserToProxyChannel, String hostAndPort)
          Creates a new relaying handler.
 

Method Detail

newHandler

org.jboss.netty.channel.ChannelHandler newHandler(org.jboss.netty.channel.Channel browserToProxyChannel,
                                                  String hostAndPort)
Creates a new relaying handler.

Parameters:
browserToProxyChannel - The channel from the browser to the proxy server.
hostAndPort - The host and port of the remote server to relay from.
Returns:
The new handler.


Copyright © 2009-2013 LittleShoot. All Rights Reserved.