org.codehaus.wadi.impl
Class AbstractHttpProxy
java.lang.Object
org.codehaus.wadi.impl.AbstractHttpProxy
- All Implemented Interfaces:
- InvocationProxy, Serializable
- Direct Known Subclasses:
- CommonsHttpProxy, StandardHttpProxy
- public abstract class AbstractHttpProxy
- extends Object
- implements InvocationProxy
Useful support for implementations of the HttpProxy interface
- Version:
- $Revision: 1430 $
- Author:
- Jules Gosnell, Greg Wilkins
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_WADI_IsSecure
public static final String _WADI_IsSecure
- See Also:
- Constant Field Values
_DontProxyHeaders
protected static final HashSet _DontProxyHeaders
_sessionPathParamKey
protected final String _sessionPathParamKey
AbstractHttpProxy
public AbstractHttpProxy(String sessionPathParamKey)
copy
public int copy(InputStream is,
OutputStream os,
int length)
throws IOException
- Throws:
IOException
getRequestURI
public String getRequestURI(HttpServletRequest hreq)
proxy
public final void proxy(ProxiedLocation location,
InvocationContext invocationContext)
throws ProxyingException
- Specified by:
proxy
in interface InvocationProxy
- Parameters:
location
- - host and port to which to proxy req/res
- Throws:
ProxyingException
- TODO
doProxy
protected abstract void doProxy(InetSocketAddress address,
WebInvocationContext context)
throws ProxyingException
- Throws:
ProxyingException
Copyright © 2004-2008 Core Developers Network Ltd.. All Rights Reserved.