protected static class GenericConnector.ExecuteProcessThread
extends java.lang.Thread
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
abortThread |
protected org.apache.http.client.HttpClient |
client |
protected java.lang.Throwable |
exception |
protected long |
streamLength |
protected org.apache.manifoldcf.connectorcommon.common.XThreadInputStream |
threadStream |
protected java.lang.String |
url |
| Constructor and Description |
|---|
ExecuteProcessThread(org.apache.http.client.HttpClient client,
java.lang.String url) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkException(java.lang.Throwable exception) |
void |
finishUp() |
java.lang.Throwable |
getException() |
java.io.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 java.lang.String url
protected java.lang.Throwable exception
protected org.apache.manifoldcf.connectorcommon.common.XThreadInputStream threadStream
protected boolean abortThread
protected long streamLength
public ExecuteProcessThread(org.apache.http.client.HttpClient client,
java.lang.String url)
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic java.io.InputStream getSafeInputStream()
throws java.lang.InterruptedException,
java.io.IOException,
org.apache.manifoldcf.core.interfaces.ManifoldCFException
java.lang.InterruptedExceptionjava.io.IOExceptionorg.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic long getStreamLength()
throws java.io.IOException,
java.lang.InterruptedException,
org.apache.manifoldcf.core.interfaces.ManifoldCFException
java.io.IOExceptionjava.lang.InterruptedExceptionorg.apache.manifoldcf.core.interfaces.ManifoldCFExceptionprotected void checkException(java.lang.Throwable exception)
throws java.io.IOException,
org.apache.manifoldcf.core.interfaces.ManifoldCFException
java.io.IOExceptionorg.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic void finishUp()
throws java.lang.InterruptedException,
java.io.IOException,
org.apache.manifoldcf.core.interfaces.ManifoldCFException
java.lang.InterruptedExceptionjava.io.IOExceptionorg.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic java.lang.Throwable getException()