public class ApacheHttp43SLRFactory extends HTTPSeekableLineReaderFactory
HTTPSeekableLineReaderFactory.HttpLibsdefaultURLBINSEARCH_BLOCK_SIZE| Constructor and Description |
|---|
ApacheHttp43SLRFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
HTTPSeekableLineReader |
get(String url) |
int |
getConnectionTimeoutMS() |
int |
getMaxHostConnections() |
int |
getMaxTotalConnections() |
long |
getModTime() |
int |
getSocketTimeoutMS() |
boolean |
isStaleChecking() |
void |
setConnectionTimeoutMS(int connectionTimeoutMS) |
void |
setMaxHostConnections(int maxHostConnections) |
void |
setMaxTotalConnections(int maxTotalConnections) |
void |
setNumRetries(int numRetries) |
void |
setProxyHostPort(String hostPort) |
void |
setSocketTimeoutMS(int socketTimeoutMS) |
void |
setStaleChecking(boolean enabled) |
get, getHttpFactory, getHttpFactory, getHttpFactory, getHttpFactory, reloadpublic HTTPSeekableLineReader get(String url) throws IOException
get in class HTTPSeekableLineReaderFactoryIOExceptionpublic void close()
throws IOException
close in interface SeekableLineReaderFactoryclose in class HTTPSeekableLineReaderFactoryIOExceptionpublic void setProxyHostPort(String hostPort)
setProxyHostPort in class HTTPSeekableLineReaderFactoryhostPort - to proxy requests through - ex. "localhost:3128"public void setMaxTotalConnections(int maxTotalConnections)
setMaxTotalConnections in class HTTPSeekableLineReaderFactorymaxTotalConnections - the HttpConnectionManagerParams configpublic int getMaxTotalConnections()
getMaxTotalConnections in class HTTPSeekableLineReaderFactorypublic void setMaxHostConnections(int maxHostConnections)
setMaxHostConnections in class HTTPSeekableLineReaderFactorymaxHostConnections - the HttpConnectionManagerParams configpublic int getMaxHostConnections()
getMaxHostConnections in class HTTPSeekableLineReaderFactorypublic int getConnectionTimeoutMS()
getConnectionTimeoutMS in class HTTPSeekableLineReaderFactorypublic void setConnectionTimeoutMS(int connectionTimeoutMS)
setConnectionTimeoutMS in class HTTPSeekableLineReaderFactoryconnectionTimeoutMS - the connectionTimeoutMS to setpublic int getSocketTimeoutMS()
getSocketTimeoutMS in class HTTPSeekableLineReaderFactorypublic void setSocketTimeoutMS(int socketTimeoutMS)
setSocketTimeoutMS in class HTTPSeekableLineReaderFactorysocketTimeoutMS - the socketTimeoutMS to setpublic void setStaleChecking(boolean enabled)
setStaleChecking in class HTTPSeekableLineReaderFactorypublic boolean isStaleChecking()
isStaleChecking in class HTTPSeekableLineReaderFactorypublic long getModTime()
getModTime in interface SeekableLineReaderFactorygetModTime in class HTTPSeekableLineReaderFactorypublic void setNumRetries(int numRetries)
setNumRetries in class HTTPSeekableLineReaderFactoryCopyright © 2015 The International Internet Preservation Consortium. All Rights Reserved.