Class CdxRecord

java.lang.Object
org.netpreserve.jwarc.cdx.CdxRecord

public class CdxRecord extends Object
  • Method Details

    • get

      public String get(int field)
    • date

      public Instant date()
    • filename

      public String filename()
    • target

      public String target()
    • targetURI

      public URI targetURI()
    • size

      public Long size()
      Length of the WARC record in bytes. Including headers and measured after any compression is applied.
    • position

      public Long position()
      Position in bytes of the record in the WARC file.
    • status

      public Integer status()
      HTTP response status code.
    • digest

      public String digest()
      A cryptographic digest of the response payload. Most commonly this is a SHA-1 digest in base 32 or an MD5 digest in hexadecimal.
    • redirect

      public String redirect()
      The value of the Location HTTP header for redirect responses.
    • contentType

      public MediaType contentType()