|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.noelios.restlet.util.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 |
---|
public int read()
public String readValue()
protected boolean isValueSeparator(int character)
character
- The character to test.
protected boolean isLinearWhiteSpace(int character)
character
- The character to test.
protected String readQuotedString() throws IOException
IOException
protected void appendQuotedString(Appendable buffer) throws IOException
buffer
- The buffer to append.
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |