public class CachedStaticFileContent extends java.lang.Object implements ResponseContent
| Constructor and Description |
|---|
CachedStaticFileContent(java.io.File file) |
CachedStaticFileContent(java.lang.String file) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContentType() |
java.io.InputStream |
getInputStream() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waiteTag, lastModifiedpublic CachedStaticFileContent(java.lang.String file)
public CachedStaticFileContent(java.io.File file)
public java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in interface ResponseContentjava.io.IOExceptionpublic java.lang.String getContentType()
throws java.io.IOException
getContentType in interface ResponseContentjava.io.IOException