WarcRecord
, org.apache.http.HttpMessage
public class InfoWarcRecord extends AbstractWarcRecord
WarcRecord
corresponding to a WarcRecord.Type.WARCINFO
record type.WarcRecord.Type
USE_BURL_PROPERTY, warcHeaders
PROTOCOL_VERSION
Constructor | Description |
---|---|
InfoWarcRecord(org.apache.http.Header[] info) |
Modifier and Type | Method | Description |
---|---|---|
static InfoWarcRecord |
fromPayload(org.apache.http.message.HeaderGroup warcHeaders,
BoundSessionInputBuffer payloadBuffer) |
|
org.apache.http.message.HeaderGroup |
getInfo() |
|
java.lang.String |
toString() |
|
protected java.io.InputStream |
writePayload(ByteArraySessionOutputBuffer buffer) |
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
getProtocolVersion, getWarcContentLength, getWarcDate, getWarcHeader, getWarcHeaders, getWarcRecordId, getWarcTargetURI, getWarcType, write, writeHeaders
public static InfoWarcRecord fromPayload(org.apache.http.message.HeaderGroup warcHeaders, BoundSessionInputBuffer payloadBuffer) throws java.io.IOException
java.io.IOException
public org.apache.http.message.HeaderGroup getInfo()
protected java.io.InputStream writePayload(ByteArraySessionOutputBuffer buffer) throws java.io.IOException
writePayload
in class AbstractWarcRecord
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object