public class HeaderLine extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
bfErrors
Bit field of errors encountered while attempting to read a line.
|
static byte |
HLT_HEADERLINE
Header line parsed.
|
static byte |
HLT_LINE
Normal line parsed.
|
java.lang.String |
line
The raw line if no colon is present.
|
java.util.List<HeaderLine> |
lines
List of additional headers with the same name.
|
java.lang.String |
name
Header name.
|
byte[] |
raw
The original byte stream.
|
static int |
READLINE_INITIAL_SIZE
Read line initial size.
|
byte |
type
Type of the parsed line.
|
java.lang.String |
value
Header value.
|
| Constructor and Description |
|---|
HeaderLine() |
| Modifier and Type | Method and Description |
|---|---|
static HeaderLine |
readLine(java.io.InputStream in)
Read a single line into a header line.
|
public static final int READLINE_INITIAL_SIZE
public static final byte HLT_LINE
public static final byte HLT_HEADERLINE
public byte type
public java.lang.String name
public java.lang.String value
public java.lang.String line
public byte[] raw
public int bfErrors
public java.util.List<HeaderLine> lines
public HeaderLine()
public static HeaderLine readLine(java.io.InputStream in) throws java.io.IOException
in - inputstreamjava.io.IOException - if an I/O error occurs while reading lineCopyright © 2011–2023. All rights reserved.