ikrs.httpd
Class ResourceMetaData
java.lang.Object
ikrs.httpd.ResourceMetaData
public class ResourceMetaData
- extends java.lang.Object
The ResourceMetaData is a lightweight class that holds different descriptional
resource meta data such as the date of last modification, length (if available)
or the resource's URI.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceMetaData
public ResourceMetaData()
setMIMEType
public void setMIMEType(MIMEType mimeType)
getMIMEType
public MIMEType getMIMEType()
getOverrideHeaders
public HTTPHeaders getOverrideHeaders()
- Get the resource's override-headers.
The returned headers-object is never null (but may be empty).
- Returns:
- The resource's override-headers (is never null).
setLastModified
public void setLastModified(java.util.Date lastModified)
getLastModified
public java.util.Date getLastModified()
setCharsetName
public void setCharsetName(java.lang.String name)
getCharsetName
public java.lang.String getCharsetName()