|
||||||||||
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(java.lang.String header)
Constructor. |
Method Summary | |
---|---|
protected void |
appendQuotedString(java.lang.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 java.lang.String |
readQuotedString()
Reads the next quoted string. |
java.lang.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(java.lang.String header)
header
- The header to read.Method Detail |
---|
protected void appendQuotedString(java.lang.Appendable buffer) throws java.io.IOException
buffer
- The buffer to append.
java.io.IOException
protected boolean isLinearWhiteSpace(int character)
character
- The character to test.
protected boolean isValueSeparator(int character)
character
- The character to test.
public int read()
protected java.lang.String readQuotedString() throws java.io.IOException
java.io.IOException
public java.lang.String readValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |