protected static class OpenSearchServerConnection.CallThread
extends java.lang.Thread
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.http.client.HttpClient |
client |
protected java.lang.Throwable |
exception |
protected org.apache.http.client.methods.HttpRequestBase |
method |
protected java.lang.String |
response |
protected int |
resultCode |
| Constructor and Description |
|---|
CallThread(org.apache.http.client.HttpClient client,
org.apache.http.client.methods.HttpRequestBase method) |
| Modifier and Type | Method and Description |
|---|---|
void |
finishUp() |
java.lang.String |
getResponse() |
int |
getResultCode() |
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 org.apache.http.client.methods.HttpRequestBase method
protected int resultCode
protected java.lang.String response
protected java.lang.Throwable exception
public CallThread(org.apache.http.client.HttpClient client,
org.apache.http.client.methods.HttpRequestBase method)
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic int getResultCode()
public java.lang.String getResponse()
public void finishUp()
throws java.lang.InterruptedException,
org.apache.http.HttpException,
java.io.IOException
java.lang.InterruptedExceptionorg.apache.http.HttpExceptionjava.io.IOException