- parameters() - Method in class org.netpreserve.jwarc.MediaType
-
- parse(String) - Method in class org.netpreserve.jwarc.cdx.CdxFormat
-
- parse(ByteBuffer) - Method in class org.netpreserve.jwarc.GeminiParser
-
Runs the parser on a buffer of data.
- parse(ReadableByteChannel, ByteBuffer) - Method in class org.netpreserve.jwarc.GeminiParser
-
- parse(ReadableByteChannel, ByteBuffer) - Static method in class org.netpreserve.jwarc.GeminiRequest
-
- parse(ReadableByteChannel, ByteBuffer) - Static method in class org.netpreserve.jwarc.GeminiResponse
-
- parse(ByteBuffer) - Method in class org.netpreserve.jwarc.HttpParser
-
Runs the parser on a buffer of data.
- parse(ReadableByteChannel, ByteBuffer) - Method in class org.netpreserve.jwarc.HttpParser
-
- parse(ReadableByteChannel) - Static method in class org.netpreserve.jwarc.HttpRequest
-
Parses a HTTP request while leniently allowing common deviations from the standard.
- parse(ReadableByteChannel, ByteBuffer) - Static method in class org.netpreserve.jwarc.HttpRequest
-
Parses a HTTP request while leniently allowing common deviations from the standard.
- parse(ReadableByteChannel) - Static method in class org.netpreserve.jwarc.HttpResponse
-
Parses a HTTP response while leniently allowing common deviations from the standard.
- parse(String) - Static method in class org.netpreserve.jwarc.MediaType
-
Parses a media type string.
- parse(ReadableByteChannel) - Static method in class org.netpreserve.jwarc.MessageHeaders
-
Parses application/warc-fields.
- parse(ByteBuffer) - Method in class org.netpreserve.jwarc.WarcParser
-
- parse(ReadableByteChannel, ByteBuffer) - Method in class org.netpreserve.jwarc.WarcParser
-
- parseLeniently(String) - Static method in class org.netpreserve.jwarc.URIs
-
- parseStrictly(ReadableByteChannel, ByteBuffer) - Static method in class org.netpreserve.jwarc.HttpRequest
-
Parses a HTTP request while strictly rejecting deviations from the standard.
- parseStrictly(ReadableByteChannel) - Static method in class org.netpreserve.jwarc.HttpResponse
-
Parses a HTTP response while strictly rejecting deviations from the standard.
- ParsingException - Exception in org.netpreserve.jwarc
-
- ParsingException(String) - Constructor for exception org.netpreserve.jwarc.ParsingException
-
- payload() - Method in class org.netpreserve.jwarc.WarcConversion
-
- payload() - Method in class org.netpreserve.jwarc.WarcMetadata
-
Metadata records do not have a payload so this method always returns empty.
- payload() - Method in class org.netpreserve.jwarc.WarcRequest
-
- payload() - Method in class org.netpreserve.jwarc.WarcResponse
-
- payload() - Method in class org.netpreserve.jwarc.WarcRevisit
-
Always returns Optional.empty().
- payload() - Method in class org.netpreserve.jwarc.WarcTargetRecord
-
Returns the payload of this record if one is present.
- payloadDigest(WarcDigest) - Method in class org.netpreserve.jwarc.WarcTargetRecord.Builder
-
- payloadDigest(String, String) - Method in class org.netpreserve.jwarc.WarcTargetRecord.Builder
-
- payloadDigest() - Method in class org.netpreserve.jwarc.WarcTargetRecord
-
Digest values that were calculated by applying hash functions to payload.
- payloadType() - Method in class org.netpreserve.jwarc.WarcCaptureRecord
-
Content-Type of the payload.
- payloadType() - Method in class org.netpreserve.jwarc.WarcRequest
-
- payloadType() - Method in class org.netpreserve.jwarc.WarcResponse
-
- percentEncodeIllegals(String) - Static method in class org.netpreserve.jwarc.URIs
-
- percentPlusDecode(String) - Static method in class org.netpreserve.jwarc.URIs
-
- percentPlusEncode(String) - Static method in class org.netpreserve.jwarc.cdx.CdxRequestEncoder
-
- PLAIN_TEXT - Static variable in class org.netpreserve.jwarc.MediaType
-
- position() - Method in class org.netpreserve.jwarc.cdx.CdxRecord
-
Position in bytes of the record in the WARC file.
- position() - Method in interface org.netpreserve.jwarc.LengthedBody.LengthedReadableByteChannel
-
- position() - Method in class org.netpreserve.jwarc.LengthedBody
-
The current position in bytes within the content body.
- position() - Method in class org.netpreserve.jwarc.MessageBody
-
- position() - Method in exception org.netpreserve.jwarc.WarcFilterException
-
Returns the character position of the error within the input.
- position() - Method in class org.netpreserve.jwarc.WarcParser
-
- position() - Method in class org.netpreserve.jwarc.WarcReader
-
Returns the byte position of the most recently read record.
- position(long) - Method in class org.netpreserve.jwarc.WarcReader
-
Seeks to the record at the given position in the underlying channel.
- position() - Method in class org.netpreserve.jwarc.WarcWriter
-
Returns the byte position the next record will be written to.
- prefixedBase32() - Method in class org.netpreserve.jwarc.WarcDigest
-
- prettyPrint() - Method in exception org.netpreserve.jwarc.WarcFilterException
-
Returns a user-friendly error message.
- process(List<Path>, boolean) - Method in class org.netpreserve.jwarc.cdx.CdxWriter
-
Processes a list of WARC files writing CDX records for each response or resource record.
- process(WarcReader, String) - Method in class org.netpreserve.jwarc.cdx.CdxWriter
-
Writes CDX records for each response or resource record in a WARC file.
- profile() - Method in class org.netpreserve.jwarc.WarcRevisit
-
The revisit profile explaining why this capture was written as a revisit record.
- PYWB_REVISIT_MIMETYPE - Static variable in class org.netpreserve.jwarc.cdx.CdxFormat
-
- SavebackTool - Class in org.netpreserve.jwarc.tools
-
- SavebackTool() - Constructor for class org.netpreserve.jwarc.tools.SavebackTool
-
- screenshot(URI, Path) - Method in class org.netpreserve.jwarc.net.Browser
-
- screenshot(URI) - Method in class org.netpreserve.jwarc.net.Browser
-
- screenshot(URI, Instant, WarcWriter) - Method in class org.netpreserve.jwarc.net.WarcRenderer
-
- ScreenshotTool - Class in org.netpreserve.jwarc.tools
-
- ScreenshotTool() - Constructor for class org.netpreserve.jwarc.tools.ScreenshotTool
-
- segmentNumber(long) - Method in class org.netpreserve.jwarc.WarcRecord.AbstractBuilder
-
- segmentNumber() - Method in class org.netpreserve.jwarc.WarcRecord
-
The current record's relative ordering in a sequence of segmented records.
- segmentOriginId(URI) - Method in class org.netpreserve.jwarc.WarcContinuation.Builder
-
- segmentOriginId() - Method in class org.netpreserve.jwarc.WarcContinuation
-
The id of the first record in the series of segments this record is part of.
- segmentTotalLength(long) - Method in class org.netpreserve.jwarc.WarcContinuation.Builder
-
- segmentTotalLength() - Method in class org.netpreserve.jwarc.WarcContinuation
-
The total length of the content blocks of all segments added together.
- serializeHeader() - Method in class org.netpreserve.jwarc.GeminiResponse
-
- serializeHeader() - Method in class org.netpreserve.jwarc.Message
-
Serializes the message header.
- SERVER_NOT_MODIFIED_1_0 - Static variable in class org.netpreserve.jwarc.WarcRevisit
-
WARC 1.0 revisit profile for when the server said the content had not changed.
- SERVER_NOT_MODIFIED_1_1 - Static variable in class org.netpreserve.jwarc.WarcRevisit
-
WARC 1.1 revisit profile for when the server said the content had not changed.
- ServeTool - Class in org.netpreserve.jwarc.tools
-
- ServeTool() - Constructor for class org.netpreserve.jwarc.tools.ServeTool
-
- setCdxServer(String) - Method in class org.netpreserve.jwarc.tools.DedupeTool
-
- setFormat(CdxFormat) - Method in class org.netpreserve.jwarc.cdx.CdxWriter
-
Sets the CDX output format to use.
- setHeader(String, String) - Method in class org.netpreserve.jwarc.Message.AbstractBuilder
-
Sets a header field.
- setMinimumSize(long) - Method in class org.netpreserve.jwarc.tools.DedupeTool
-
- setPostAppend(boolean) - Method in class org.netpreserve.jwarc.cdx.CdxWriter
-
Appends an encoded version of the request to the URL key for POST and PUT requests.
- setRecordFilter(Predicate<WarcRecord>) - Method in class org.netpreserve.jwarc.cdx.CdxWriter
-
Records that don't match this filter will not be emitted.
- size() - Method in class org.netpreserve.jwarc.cdx.CdxRecord
-
Length of the WARC record in bytes.
- size() - Method in interface org.netpreserve.jwarc.LengthedBody.LengthedReadableByteChannel
-
- size() - Method in class org.netpreserve.jwarc.LengthedBody
-
The length in bytes of the content body.
- size() - Method in class org.netpreserve.jwarc.MessageBody
-
Returns the length of the body.
- sole(String) - Method in class org.netpreserve.jwarc.MessageHeaders
-
Returns the value of a single-valued header field.
- StatsTool - Class in org.netpreserve.jwarc.tools
-
- StatsTool() - Constructor for class org.netpreserve.jwarc.tools.StatsTool
-
- status() - Method in class org.netpreserve.jwarc.cdx.CdxRecord
-
HTTP response status code.
- status() - Method in class org.netpreserve.jwarc.GeminiParser
-
- status() - Method in class org.netpreserve.jwarc.GeminiResponse
-
- status() - Method in class org.netpreserve.jwarc.HttpParser
-
- status() - Method in class org.netpreserve.jwarc.HttpResponse
-
The 3 digit response status code.
- statusHttpEquivalent() - Method in class org.netpreserve.jwarc.GeminiResponse
-
Returns the HTTP equivalent of the status code.
- stream() - Method in class org.netpreserve.jwarc.LengthedBody
-
Returns an InputStream for reading this body.
- stream() - Method in class org.netpreserve.jwarc.MessageBody
-
- strictRequest() - Method in class org.netpreserve.jwarc.GeminiParser
-
Configures the parser to read a gemini request while rejecting deviations from the standard.
- strictRequest() - Method in class org.netpreserve.jwarc.HttpParser
-
Configures the parser to read a HTTP request while rejecting deviations from the standard.
- strictResponse() - Method in class org.netpreserve.jwarc.GeminiParser
-
Configures the parser to read a gemini response while rejecting deviations from the standard.
- strictResponse() - Method in class org.netpreserve.jwarc.HttpParser
-
Configures the parser to read a HTTP response while rejecting deviations from the standard.
- subtype() - Method in class org.netpreserve.jwarc.MediaType
-