| Package | Description |
|---|---|
| org.netpreserve.jwarc |
Classes for parsing, serializing and manipulating WARC records.
|
| org.netpreserve.jwarc.cdx |
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
HttpRequest.Builder.build() |
HttpRequest |
WarcRequest.http()
Parses the content body of this record as HTTP request.
|
static HttpRequest |
HttpRequest.parse(ReadableByteChannel channel)
Parses a HTTP request while leniently allowing common deviations from the standard.
|
static HttpRequest |
HttpRequest.parse(ReadableByteChannel channel,
ByteBuffer buffer)
Parses a HTTP request while leniently allowing common deviations from the standard.
|
static HttpRequest |
HttpRequest.parseStrictly(ReadableByteChannel channel,
ByteBuffer buffer)
Parses a HTTP request while strictly rejecting deviations from the standard.
|
| Modifier and Type | Method and Description |
|---|---|
WarcRequest.Builder |
WarcRequest.Builder.body(HttpRequest httpRequest) |
FetchResult |
WarcWriter.fetch(URI uri,
HttpRequest httpRequest,
FetchOptions options)
Downloads a remote resource recording the request and response as WARC records.
|
FetchResult |
WarcWriter.fetch(URI uri,
HttpRequest httpRequest,
OutputStream copyTo)
Downloads a remote resource recording the request and response as WARC records.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
CdxRequestEncoder.encode(HttpRequest httpRequest) |
Copyright © 2024. All rights reserved.