public class HTTPRetriever extends URLRetriever
beginTime, byteBuffer, connection, connectTimeout, contentLength, contentLengthRead, contentType, endTime, expiration, EXTRACT_ZIP_ENTRY, postProcessor, readTimeout, staleRequestLimit, state, submitTime, urlRETRIEVER_STATE_CONNECTING, RETRIEVER_STATE_ERROR, RETRIEVER_STATE_INTERRUPTED, RETRIEVER_STATE_NOT_STARTED, RETRIEVER_STATE_READING, RETRIEVER_STATE_STARTED, RETRIEVER_STATE_SUCCESSFUL| Constructor and Description |
|---|
HTTPRetriever(java.net.URL url,
RetrievalPostProcessor postProcessor) |
| Modifier and Type | Method and Description |
|---|---|
protected java.nio.ByteBuffer |
doRead(java.net.URLConnection connection) |
int |
getResponseCode() |
java.lang.String |
getResponseMessage() |
call, configureSSLContext, createRetriever, end, equals, getBeginTime, getBuffer, getConnection, getConnectTimeout, getContentLength, getContentLengthRead, getContentType, getEndTime, getExpiration, getExpirationTime, getName, getPostProcessor, getReadTimeout, getStaleRequestLimit, getState, getSubmitTime, getUrl, getURL, hashCode, interrupted, openConnection, read, readNonSpecificStream, readNonSpecificStreamUnknownLength, readZipStream, setBeginTime, setConnectTimeout, setContentLengthRead, setEndTime, setReadTimeout, setStaleRequestLimit, setState, setSubmitTime, toStringonMessage, propertyChangeaddPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValuesclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValuesonMessagepublic HTTPRetriever(java.net.URL url,
RetrievalPostProcessor postProcessor)
protected java.nio.ByteBuffer doRead(java.net.URLConnection connection)
throws java.lang.Exception
doRead in class URLRetrieverconnection - the connection to read from.java.lang.Exception - if connection is null or an exception occurs during reading.java.lang.IllegalArgumentException - if connection is nullpublic int getResponseCode()
public java.lang.String getResponseMessage()