public class HeaderLine extends Encoding
修飾子とタイプ | フィールド | 説明 |
---|---|---|
static java.lang.String |
NAME |
コンストラクタ | 説明 |
---|---|
HeaderLine() |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
void |
decode(java.io.InputStream in,
Buffer bout) |
Decode all the header lines, up through \r\n\r\n,
and puts them in the ReadBuffer, including the \r\n\r\n
|
java.lang.String |
encode(byte[] in) |
This will split multibyte chars across lines,
see 4th ref above
|
java.lang.String |
encode(java.lang.String str) |
Encode a single header line ONLY.
|
java.lang.String |
getName() |
public static final java.lang.String NAME
public java.lang.String encode(byte[] in) throws EncodingException
encode
クラス内 Encoding
java.lang.UnsupportedOperationException
- alwaysEncodingException
public java.lang.String encode(java.lang.String str) throws EncodingException
encode
クラス内 Encoding
str
- must start with "field-name: "EncodingException
Encoding.encode(byte[])
public void decode(java.io.InputStream in, Buffer bout) throws java.io.IOException
decode
クラス内 Encoding
DecodingException
java.io.IOException
Encoding.decode(byte[], int, int)