Class ApacheHttp43SLR
java.lang.Object
org.archive.util.binsearch.AbstractSeekableLineReader
org.archive.util.binsearch.impl.HTTPSeekableLineReader
org.archive.util.binsearch.impl.http.ApacheHttp43SLR
- All Implemented Interfaces:
SeekableLineReader
-
Nested Class Summary
Nested classes/interfaces inherited from class org.archive.util.binsearch.impl.HTTPSeekableLineReader
HTTPSeekableLineReader.BadHttpStatusException -
Field Summary
Fields inherited from class org.archive.util.binsearch.impl.HTTPSeekableLineReader
connectedUrl, CONTENT_LENGTH, cookie, errHeader, LAST_MODIFIED, noKeepAlive, saveErrHeaderFields inherited from class org.archive.util.binsearch.AbstractSeekableLineReader
blockSize, br, bufferFully, closed, is, UTF8 -
Constructor Summary
ConstructorsConstructorDescriptionApacheHttp43SLR(String url) ApacheHttp43SLR(String url, int connectTimeout, int readTimeout) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoClose()protected InputStreamdoSeekLoad(long offset, int maxLength) protected InputStreamdoSeekLoad(long offset, int maxLength, URL url) getHeaderValue(String headerName) protected static intlonggetSize()getUrl()voidseekWithMaxRead(long offset, boolean gzip, int maxLength) Methods inherited from class org.archive.util.binsearch.impl.HTTPSeekableLineReader
getConnectedUrl, getCookie, getErrHeader, getSaveErrHeader, isNoKeepAlive, makeRangeHeader, setCookie, setErrHeader, setNoKeepAlive, setSaveErrHeaderMethods inherited from class org.archive.util.binsearch.AbstractSeekableLineReader
close, finalize, getInputStream, isClosed, readLine, seek, setBufferFully, skipLine
-
Constructor Details
-
ApacheHttp43SLR
-
ApacheHttp43SLR
-
-
Method Details
-
getUrl
- Specified by:
getUrlin classHTTPSeekableLineReader
-
getSize
- Specified by:
getSizein interfaceSeekableLineReader- Specified by:
getSizein classHTTPSeekableLineReader- Throws:
IOException
-
getHeaderValue
- Specified by:
getHeaderValuein classHTTPSeekableLineReader
-
getPort
-
doSeekLoad
- Throws:
IOException
-
seekWithMaxRead
- Specified by:
seekWithMaxReadin interfaceSeekableLineReader- Overrides:
seekWithMaxReadin classAbstractSeekableLineReader- Throws:
IOException
-
doClose
- Specified by:
doClosein classAbstractSeekableLineReader- Throws:
IOException
-
doSeekLoad
- Specified by:
doSeekLoadin classAbstractSeekableLineReader- Throws:
IOException
-