|
|||||||||
| Home >> All >> com >> lutris >> appserver >> server >> [ httpPresentation overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.lutris.appserver.server.httpPresentation
Class CachedFilePresentation

java.lang.Objectcom.lutris.appserver.server.httpPresentation.CachedFilePresentation
- All Implemented Interfaces:
- HttpPresentation
- class CachedFilePresentation
- extends java.lang.Object
- implements HttpPresentation
- extends java.lang.Object
Presentation for file data that is cached in memory.
| Field Summary | |
private int |
contentLen
|
private java.io.ByteArrayOutputStream |
fileData
|
private java.lang.String |
mimeType
|
private static int |
READ_BUFFER_SIZE
|
| Constructor Summary | |
protected |
CachedFilePresentation(java.lang.ClassLoader classLoader,
java.lang.String urlPath,
java.lang.String fileMimeType)
Construct a new static file presentation, given an input stream. |
| Method Summary | |
void |
run(HttpPresentationComms comms)
Entry point for static file presenation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
mimeType
private java.lang.String mimeType
contentLen
private int contentLen
fileData
private java.io.ByteArrayOutputStream fileData
READ_BUFFER_SIZE
private static final int READ_BUFFER_SIZE
- See Also:
- Constant Field Values
| Constructor Detail |
CachedFilePresentation
protected CachedFilePresentation(java.lang.ClassLoader classLoader, java.lang.String urlPath, java.lang.String fileMimeType) throws FilePresentationException
- Construct a new static file presentation, given an input stream.
| Method Detail |
run
public void run(HttpPresentationComms comms) throws FilePresentationException
- Entry point for static file presenation.
- Specified by:
runin interfaceHttpPresentation
|
|||||||||
| Home >> All >> com >> lutris >> appserver >> server >> [ httpPresentation overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.lutris.appserver.server.httpPresentation.CachedFilePresentation