public class ApacheHttp43SLR extends HTTPSeekableLineReader
HTTPSeekableLineReader.BadHttpStatusExceptionconnectedUrl, CONTENT_LENGTH, cookie, errHeader, LAST_MODIFIED, noKeepAlive, saveErrHeaderblockSize, br, bufferFully, closed, is, UTF8| Constructor and Description |
|---|
ApacheHttp43SLR(java.lang.String url) |
ApacheHttp43SLR(java.lang.String url,
int connectTimeout,
int readTimeout) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doClose() |
protected java.io.InputStream |
doSeekLoad(long offset,
int maxLength) |
protected java.io.InputStream |
doSeekLoad(long offset,
int maxLength,
java.net.URL url) |
java.lang.String |
getHeaderValue(java.lang.String headerName) |
protected static int |
getPort(java.net.URL url) |
long |
getSize() |
java.lang.String |
getUrl() |
void |
seekWithMaxRead(long offset,
boolean gzip,
int maxLength) |
getConnectedUrl, getCookie, getErrHeader, getSaveErrHeader, isNoKeepAlive, makeRangeHeader, setCookie, setErrHeader, setNoKeepAlive, setSaveErrHeaderclose, finalize, getInputStream, isClosed, readLine, seek, setBufferFully, skipLinepublic ApacheHttp43SLR(java.lang.String url)
public ApacheHttp43SLR(java.lang.String url,
int connectTimeout,
int readTimeout)
public java.lang.String getUrl()
getUrl in class HTTPSeekableLineReaderpublic long getSize()
throws java.io.IOException
getSize in interface SeekableLineReadergetSize in class HTTPSeekableLineReaderjava.io.IOExceptionpublic java.lang.String getHeaderValue(java.lang.String headerName)
getHeaderValue in class HTTPSeekableLineReaderprotected static int getPort(java.net.URL url)
protected java.io.InputStream doSeekLoad(long offset,
int maxLength,
java.net.URL url)
throws java.io.IOException
java.io.IOExceptionpublic void seekWithMaxRead(long offset,
boolean gzip,
int maxLength)
throws java.io.IOException
seekWithMaxRead in interface SeekableLineReaderseekWithMaxRead in class AbstractSeekableLineReaderjava.io.IOExceptionprotected void doClose()
throws java.io.IOException
doClose in class AbstractSeekableLineReaderjava.io.IOExceptionprotected java.io.InputStream doSeekLoad(long offset,
int maxLength)
throws java.io.IOException
doSeekLoad in class AbstractSeekableLineReaderjava.io.IOExceptionCopyright © 2019 The International Internet Preservation Consortium. All Rights Reserved.