org.wings.resource
Class DefaultURLResource

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

public class DefaultURLResource
extends Object
implements URLResource

Default implementation of an Resource accessible via an HTTP URL. Beware that this kind of resource cannot address urls below the servlet path, if the servlet is authorized and the browser has cookies switched off!

Author:
armin created at 15.01.2004 17:58:29
See Also:
Serialized Form

Constructor Summary
DefaultURLResource(String urlString)
           
 
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

DefaultURLResource

public DefaultURLResource(String urlString)
Parameters:
urlString - 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 ;-)