org.codehaus.wadi.impl
Class HttpProxyLocation

java.lang.Object
  extended byorg.codehaus.wadi.impl.SimpleEvictable
      extended byorg.codehaus.wadi.impl.HttpProxyLocation
All Implemented Interfaces:
Evictable, Location, Serializable

public class HttpProxyLocation
extends SimpleEvictable
implements Location

A Location that includes a hostname/ip-address and HTTP port

Version:
$Revision: 1430 $
Author:
Jules Gosnell
See Also:
Serialized Form

Field Summary
protected  Destination _destination
           
protected  ProxiedLocation _location
           
protected static Log _log
           
protected  InvocationProxy _proxy
           
 
Fields inherited from class org.codehaus.wadi.impl.SimpleEvictable
_creationTime, _lastAccessedTime, _maxInactiveInterval
 
Constructor Summary
HttpProxyLocation(Destination destination, ProxiedLocation location, InvocationProxy proxy)
           
 
Method Summary
 Destination getDestination()
           
 void proxy(InvocationContext invocationContext)
           
 String toString()
           
 
Methods inherited from class org.codehaus.wadi.impl.SimpleEvictable
checkTimeframe, copy, destroy, getCreationTime, getLastAccessedTime, getMaxInactiveInterval, getTimedOut, getTimeToLive, init, isNew, mote, readContent, setLastAccessedTime, setMaxInactiveInterval, writeContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.codehaus.wadi.Evictable
checkTimeframe, copy, destroy, getCreationTime, getLastAccessedTime, getMaxInactiveInterval, getTimedOut, getTimeToLive, init, isNew, mote, setLastAccessedTime, setMaxInactiveInterval
 

Field Detail

_log

protected static final Log _log

_location

protected ProxiedLocation _location

_proxy

protected InvocationProxy _proxy

_destination

protected final Destination _destination
Constructor Detail

HttpProxyLocation

public HttpProxyLocation(Destination destination,
                         ProxiedLocation location,
                         InvocationProxy proxy)
Method Detail

proxy

public void proxy(InvocationContext invocationContext)
           throws ProxyingException
Specified by:
proxy in interface Location
Throws:
ProxyingException - TODO

toString

public String toString()

getDestination

public Destination getDestination()
Specified by:
getDestination in interface Location


Copyright © 2004-2008 Core Developers Network Ltd.. All Rights Reserved.