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(URL url,
             RetrievalPostProcessor postProcessor) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected ByteBuffer | doRead(URLConnection connection) | 
| int | getResponseCode() | 
| 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, setValuespropertyChangeonMessagepublic HTTPRetriever(URL url, RetrievalPostProcessor postProcessor)
protected ByteBuffer doRead(URLConnection connection) throws Exception
doRead in class URLRetrieverconnection - the connection to read from.Exception - if connection is null or an exception occurs during reading.IllegalArgumentException - if connection is nullpublic int getResponseCode()
public String getResponseMessage()