Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
static int |
BUFFER_SIZE |
private InputStream |
in |
(package private) static org.slf4j.Logger |
logger |
private OutputStream |
out |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
StreamForwarder(InputStream in,
OutputStream out) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the input stream, thereby stopping the stream forwarder, and closing the output stream.
|
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, yield
static final org.slf4j.Logger logger
public static final int BUFFER_SIZE
private final InputStream in
private final OutputStream out
public StreamForwarder(InputStream in, OutputStream out)