| Package | Description |
|---|---|
| org.netpreserve.jwarc |
Classes for parsing, serializing and manipulating WARC records.
|
| org.netpreserve.jwarc.cdx |
| Modifier and Type | Field and Description |
|---|---|
static MediaType |
MediaType.HTML |
static MediaType |
MediaType.HTML_UTF8 |
static MediaType |
MediaType.HTTP |
static MediaType |
MediaType.HTTP_REQUEST |
static MediaType |
MediaType.HTTP_RESPONSE |
static MediaType |
MediaType.OCTET_STREAM |
static MediaType |
MediaType.WARC_FIELDS |
| Modifier and Type | Method and Description |
|---|---|
MediaType |
MediaType.base()
The base type and subtype without any parameters.
|
MediaType |
Message.contentType()
The media type of the body.
|
static MediaType |
MediaType.parse(String string)
Parses a media type string.
|
MediaType |
WarcResponse.payloadType() |
MediaType |
WarcCaptureRecord.payloadType()
Content-Type of the payload.
|
MediaType |
WarcRequest.payloadType() |
abstract MediaType |
WarcPayload.type() |
| Modifier and Type | Method and Description |
|---|---|
Optional<MediaType> |
WarcTargetRecord.identifiedPayloadType()
A content-type that was identified by an independent check (not just what the server said).
|
| Modifier and Type | Method and Description |
|---|---|
B |
Message.AbstractBuilder.body(MediaType contentType,
byte[] contentBytes)
Sets the message body.
|
B |
WarcCaptureRecord.AbstractBuilder.body(MediaType type,
Message message) |
B |
Message.AbstractBuilder.body(MediaType contentType,
ReadableByteChannel channel,
long length)
Sets the message body.
|
| Modifier and Type | Method and Description |
|---|---|
MediaType |
CdxRecord.contentType() |
Copyright © 2022. All rights reserved.