org.wings.resource
Class ReloadResource

java.lang.Object
  extended by org.wings.Resource
      extended by org.wings.resource.DynamicResource
          extended by org.wings.resource.ReloadResource
All Implemented Interfaces:
Serializable, Renderable, URLResource

public class ReloadResource
extends DynamicResource

Traverses the component hierarchy of a frame and lets the CGs compose the document.

Version:
$Revision: 3423 $
Author:
Holger Engels
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.wings.Resource
Resource.HeaderEntry
 
Field Summary
 
Fields inherited from class org.wings.Resource
extension, headers, id, mimeType
 
Constructor Summary
ReloadResource(SFrame f)
          Create a code resource for the specified frame.
 
Method Summary
 Collection<HttpHeader> getHeaders()
          The HTTP header parameteres attached to this dynamic code ressource.
 void write(Device out)
          Renders and writes the code of the SFrame attached to this ReloadResource.
 
Methods inherited from class org.wings.resource.DynamicResource
getFrame, getId, getURL, toString
 
Methods inherited from class org.wings.Resource
getExtension, getLength, getMimeType, getSession, setHeaders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReloadResource

public ReloadResource(SFrame f)
Create a code resource for the specified frame.

The MIME-type for this frame will be text/html; charset=current encoding

Method Detail

write

public void write(Device out)
           throws IOException
Renders and writes the code of the SFrame attached to this ReloadResource.

Throws:
IOException

getHeaders

public Collection<HttpHeader> getHeaders()
The HTTP header parameteres attached to this dynamic code ressource. This static list will by default contain entries to disable caching on the server side. Call getHeaders().clear() to avoid this i.e. if you want to enable back buttons.

Overrides:
getHeaders in class DynamicResource
Returns:
A Collection of Resource.HeaderEntry objects.


wingS Swings ;-)