protected static class GenericConnector.ExecuteProcessThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected boolean |
abortThread |
protected org.apache.http.client.HttpClient |
client |
protected Throwable |
exception |
protected long |
streamLength |
protected XThreadInputStream |
threadStream |
protected String |
url |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
GenericConnector.ExecuteProcessThread(org.apache.http.client.HttpClient client,
String url) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkException(Throwable exception) |
void |
finishUp() |
Throwable |
getException() |
InputStream |
getSafeInputStream() |
long |
getStreamLength() |
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, yieldprotected final org.apache.http.client.HttpClient client
protected final String url
protected Throwable exception
protected XThreadInputStream threadStream
protected boolean abortThread
protected long streamLength
public GenericConnector.ExecuteProcessThread(org.apache.http.client.HttpClient client,
String url)
public InputStream getSafeInputStream() throws InterruptedException, IOException, ManifoldCFException
public long getStreamLength()
throws IOException,
InterruptedException,
ManifoldCFException
protected void checkException(Throwable exception) throws IOException, ManifoldCFException
IOExceptionManifoldCFExceptionpublic void finishUp()
throws InterruptedException,
IOException,
ManifoldCFException
public Throwable getException()