org.wings.resource
Class SessionResource

java.lang.Object
  extended by org.wings.resource.SessionResource
All Implemented Interfaces:
Serializable, URLResource

public class SessionResource
extends Object
implements URLResource

Quite similar to the DefaultURLResource. Though this resource supports url rewriting for cookie-less sessions. Thus it can address resources below the servlet path.

See Also:
Serialized Form

Constructor Summary
SessionResource(String url)
           
 
Method Summary
 SimpleURL getURL()
          returns the URL, this resource can be fetched from.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionResource

public SessionResource(String url)
Parameters:
url - The URL to access this ressource.
Method Detail

getURL

public SimpleURL getURL()
Description copied from interface: URLResource
returns the URL, this resource can be fetched from. This URL may be relative, usually if generated from the externalizer.

Specified by:
getURL in interface URLResource


wingS Swings ;-)