Class MessageHeaders
java.lang.Object
org.netpreserve.jwarc.MessageHeaders
-
Method Summary
Modifier and TypeMethodDescriptionReturns all the values of a header field.voidappendTo(Appendable appendable) booleanReturns true when the given header value is present.Returns the first value of a header field.map()Returns a map of header fields to their values.static MessageHeadersstatic MessageHeadersparse(ReadableByteChannel channel) Parses application/warc-fields.Returns the value of a single-valued header field.toString()
-
Method Details
-
of
-
sole
-
first
-
all
-
map
-
contains
-
toString
-
parse
Parses application/warc-fields.- Throws:
IOException
-
appendTo
- Throws:
IOException
-