org.apache.wicket.markup.html
Class DynamicWebResource.ResourceState
java.lang.Object
org.apache.wicket.markup.html.DynamicWebResource.ResourceState
- Enclosing class:
- DynamicWebResource
public abstract static class DynamicWebResource.ResourceState
- extends 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 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-2011 Apache Software Foundation. All Rights Reserved.