public class PipedReadEmbeddedFileThread
extends java.lang.Thread
InputStream of a an embedded file to the
OutputStream of the HTTP response with the help of a piped stream.| Constructor and Description |
|---|
PipedReadEmbeddedFileThread(java.lang.String fileName,
java.io.InputStream inputStream,
java.io.PipedOutputStream pipedOut)
Create a new Thread and set the corresponding
InputStream and the
PipedOutputStream to transfer the embedded file. |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic PipedReadEmbeddedFileThread(java.lang.String fileName,
java.io.InputStream inputStream,
java.io.PipedOutputStream pipedOut)
InputStream and the
PipedOutputStream to transfer the embedded file.fileName - the name of the embedded fileinputStream - the InputStream of the embedded filepipedOut - the PipedOutputStream to send the Embedded file