org.wings.resource
Class ReloadResource
java.lang.Object
org.wings.Resource
org.wings.resource.DynamicResource
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
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
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 ;-)