public abstract class AbstractRemoteResource<T> extends AbstractAsyncOperation<T>
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractRemoteResource.ProgressInputStream |
| Modifier and Type | Field and Description |
|---|---|
protected int |
fileSize |
protected String |
method |
protected String |
outboundContent |
protected String |
url |
future, listener| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRemoteResource(String url,
AsyncOperationListener<T> listener) |
protected |
AbstractRemoteResource(String url,
String method,
AsyncOperationListener<T> listener) |
protected |
AbstractRemoteResource(String url,
String method,
String outboundContent,
AsyncOperationListener<T> listener) |
| Modifier and Type | Method and Description |
|---|---|
T |
call() |
String |
getResponseHeader(String header) |
protected abstract T |
processStream(InputStream stream) |
void |
setHeader(String header,
String value) |
addProgress, cancel, getProgressGranularity, getProgressMax, isCancelled, isDone, notifyProgress, setProgressGranularity, setProgressMax, startprotected final String url
protected final String method
protected final String outboundContent
protected int fileSize
protected AbstractRemoteResource(String url, AsyncOperationListener<T> listener)
protected AbstractRemoteResource(String url, String method, AsyncOperationListener<T> listener)
protected AbstractRemoteResource(String url, String method, String outboundContent, AsyncOperationListener<T> listener)
protected abstract T processStream(InputStream stream) throws IOException
IOExceptionpublic T call() throws IOException
IOExceptionCopyright © 2025. All rights reserved.