public class AsyncHttpRequest extends Thread
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected long |
elapsedTime |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
AsyncHttpRequest() |
AsyncHttpRequest(String baseUrl,
String method,
ArrayList<NlpParameter> parameters) |
| Modifier and Type | Method and Description |
|---|---|
void |
asyncHttpRequestCallback() |
String |
getResult() |
void |
run() |
void |
setBaseUrl(String baseUrl) |
void |
setMethod(String method) |
void |
setParameters(ArrayList<NlpParameter> parameters) |
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 AsyncHttpRequest()
public AsyncHttpRequest(String baseUrl, String method, ArrayList<NlpParameter> parameters)
public String getResult()
public void asyncHttpRequestCallback()
public void setBaseUrl(String baseUrl)
public void setMethod(String method)
public void setParameters(ArrayList<NlpParameter> parameters)
Copyright © 2019. All Rights Reserved.