wicket.markup.html
Class DynamicWebResource.ResourceState
java.lang.Object
wicket.markup.html.DynamicWebResource.ResourceState
- Enclosing class:
- DynamicWebResource
public abstract static class DynamicWebResource.ResourceState
- extends java.lang.Object
The resource state returned by the getResourceState() method. This state
needs to be thread-safe and its methods must return the same values no
matter how many times they are invoked. A ResourceState may assume
getParameters() will remain unchanged during its lifetime.
- Author:
- jcompagner
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lastModifiedTime
protected Time lastModifiedTime
DynamicWebResource.ResourceState
public DynamicWebResource.ResourceState()
getData
public abstract byte[] getData()
- Returns:
- The Byte array for this resource
getContentType
public abstract java.lang.String getContentType()
- Returns:
- The content type of this resource
lastModifiedTime
public Time lastModifiedTime()
- Returns:
- The last modified time of this resource
getLength
public int getLength()
- Returns:
- The length of the data
Copyright © 2004-2007 Wicket developers. All Rights Reserved.