|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.noelios.restlet.http.HeaderReader
public class HeaderReader
HTTP-style header reader.
| Constructor Summary | |
|---|---|
HeaderReader(String header)
Constructor. |
|
| Method Summary | |
|---|---|
protected void |
appendQuotedString(Appendable buffer)
Appends the next quoted string. |
protected boolean |
isLinearWhiteSpace(int character)
Indicates if the given character is a value separator. |
protected boolean |
isValueSeparator(int character)
Indicates if the given character is a value separator. |
int |
read()
Reads the next character. |
protected String |
readQuotedString()
Reads the next quoted string. |
String |
readValue()
Read the next value of a multi-value header. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HeaderReader(String header)
header - The header to read.| Method Detail |
|---|
protected void appendQuotedString(Appendable buffer)
throws IOException
buffer - The buffer to append.
IOExceptionprotected boolean isLinearWhiteSpace(int character)
character - The character to test.
protected boolean isValueSeparator(int character)
character - The character to test.
public int read()
protected String readQuotedString()
throws IOException
IOExceptionpublic String readValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||