public interface Retriever extends WWObject, Callable<Retriever>
Modifier and Type | Field and Description |
---|---|
static String |
RETRIEVER_STATE_CONNECTING |
static String |
RETRIEVER_STATE_ERROR |
static String |
RETRIEVER_STATE_INTERRUPTED |
static String |
RETRIEVER_STATE_NOT_STARTED |
static String |
RETRIEVER_STATE_READING |
static String |
RETRIEVER_STATE_STARTED |
static String |
RETRIEVER_STATE_SUCCESSFUL |
Modifier and Type | Method and Description |
---|---|
long |
getBeginTime() |
ByteBuffer |
getBuffer() |
int |
getConnectTimeout() |
int |
getContentLength() |
int |
getContentLengthRead() |
String |
getContentType() |
long |
getEndTime() |
long |
getExpirationTime()
Indicates the expiration time of the resource retrieved by this Retriever.
|
String |
getName() |
int |
getReadTimeout() |
int |
getStaleRequestLimit() |
String |
getState() |
long |
getSubmitTime() |
void |
setBeginTime(long beginTime) |
void |
setConnectTimeout(int connectTimeout) |
void |
setEndTime(long endTime) |
void |
setReadTimeout(int readTimeout) |
void |
setStaleRequestLimit(int staleRequestLimit) |
void |
setSubmitTime(long submitTime) |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
propertyChange
onMessage
static final String RETRIEVER_STATE_CONNECTING
static final String RETRIEVER_STATE_ERROR
static final String RETRIEVER_STATE_INTERRUPTED
static final String RETRIEVER_STATE_NOT_STARTED
static final String RETRIEVER_STATE_READING
static final String RETRIEVER_STATE_STARTED
static final String RETRIEVER_STATE_SUCCESSFUL
long getBeginTime()
ByteBuffer getBuffer()
int getConnectTimeout()
int getContentLength()
int getContentLengthRead()
String getContentType()
long getEndTime()
long getExpirationTime()
String getName()
int getReadTimeout()
int getStaleRequestLimit()
String getState()
long getSubmitTime()
void setBeginTime(long beginTime)
void setConnectTimeout(int connectTimeout)
void setEndTime(long endTime)
void setReadTimeout(int readTimeout)
void setStaleRequestLimit(int staleRequestLimit)
void setSubmitTime(long submitTime)