|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.engine.http.header.HeaderReader<Expectation>
org.restlet.engine.http.header.ExpectationReader
public class ExpectationReader
Expectation header reader.
Constructor Summary | |
---|---|
ExpectationReader(String header)
Constructor. |
Method Summary | |
---|---|
static void |
addValues(String header,
ClientInfo clientInfo)
Adds values to the given collection. |
protected Parameter |
createParameter(String name,
String value)
Creates a new parameter. |
Expectation |
readValue()
Read the next value. |
Methods inherited from class org.restlet.engine.http.header.HeaderReader |
---|
addValues, canAdd, createParameter, mark, peek, read, readComment, readDate, readDigits, readHeader, readHeader, readParameter, readParameterValue, readQuotedString, readRawText, readRawValue, readToken, readValues, reset, skipParameterSeparator, skipSpaces, skipValueSeparator, unread |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExpectationReader(String header)
header
- The header to read.Method Detail |
---|
public static void addValues(String header, ClientInfo clientInfo)
header
- The header to read.clientInfo
- The client info to update.protected Parameter createParameter(String name, String value)
HeaderReader
createParameter
in class HeaderReader<Expectation>
name
- The parameter name.value
- The parameter value or null.
public Expectation readValue() throws IOException
HeaderReader
readValue
in class HeaderReader<Expectation>
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |