Class WarcConversion
java.lang.Object
org.netpreserve.jwarc.Message
org.netpreserve.jwarc.WarcRecord
org.netpreserve.jwarc.WarcTargetRecord
org.netpreserve.jwarc.WarcConversion
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.netpreserve.jwarc.WarcRecord
WarcRecord.AbstractBuilder<R extends WarcRecord,
B extends WarcRecord.AbstractBuilder<R, B>>, WarcRecord.Constructor<R extends WarcRecord> -
Method Summary
Methods inherited from class org.netpreserve.jwarc.WarcTargetRecord
identifiedPayloadType, payloadDigest, target, targetURI, toString, warcinfoID
Methods inherited from class org.netpreserve.jwarc.WarcRecord
blockDigest, calculatedBlockDigest, date, id, segmentNumber, truncated, type
Methods inherited from class org.netpreserve.jwarc.Message
body, contentType, headers, serializeHeader, version
-
Method Details
-
payload
Description copied from class:WarcTargetRecord
Returns the payload of this record if one is present.This method returns an empty optional when the payload is undefined for this record type or if this library does not know how to parse the body in order to extract the payload. If the payload is well defined but happens to be zero bytes in length this method still returns a WarcPayload object.
- Overrides:
payload
in classWarcTargetRecord
- Throws:
IOException
-
refersTo
-