final class HttpHeaderReaderImpl extends HttpHeaderReader
HttpHeaderReader.Event| Modifier and Type | Field and Description |
|---|---|
private HttpHeaderReader.Event |
event |
private java.lang.CharSequence |
header |
private int |
index |
private int |
length |
private boolean |
processComments |
private java.lang.CharSequence |
value |
| Constructor and Description |
|---|
HttpHeaderReaderImpl(java.lang.String header) |
HttpHeaderReaderImpl(java.lang.String header,
boolean processComments) |
| Modifier and Type | Method and Description |
|---|---|
HttpHeaderReader.Event |
getEvent()
FIXME remove.
|
java.lang.CharSequence |
getEventValue()
TODO javadoc.
|
int |
getIndex()
TODO javadoc.
|
private char |
getNextCharacter(boolean skipWhiteSpace) |
java.lang.CharSequence |
getRemainder()
TODO javadoc.
|
boolean |
hasNext()
TODO javadoc.
|
boolean |
hasNextSeparator(char separator,
boolean skipWhiteSpace)
TODO javadoc.
|
HttpHeaderReader.Event |
next()
TODO javadoc.
|
HttpHeaderReader.Event |
next(boolean skipWhiteSpace)
TODO javadoc.
|
HttpHeaderReader.Event |
next(boolean skipWhiteSpace,
boolean preserveBackslash)
TODO javadoc.
|
java.lang.String |
nextSeparatedString(char startSeparator,
char endSeparator)
FIXME remove.
|
private HttpHeaderReader.Event |
process(char c,
boolean preserveBackslash) |
private void |
processComment() |
private void |
processQuotedString(boolean preserveBackslash) |
private boolean |
skipWhiteSpace() |
newInstance, newInstance, nextQuotedString, nextSeparator, nextToken, nextTokenOrQuotedString, readAcceptLanguage, readAcceptMediaType, readAcceptMediaType, readAcceptToken, readCookie, readCookies, readDate, readMatchingEntityTag, readMediaTypes, readNewCookie, readParameters, readParameters, readQualityFactor, readQualityFactorParameter, readQualitySourceMediaType, readQualitySourceMediaType, readStringListprivate final java.lang.CharSequence header
private final boolean processComments
private final int length
private int index
private HttpHeaderReader.Event event
private java.lang.CharSequence value
HttpHeaderReaderImpl(java.lang.String header,
boolean processComments)
HttpHeaderReaderImpl(java.lang.String header)
public boolean hasNext()
HttpHeaderReaderhasNext in class HttpHeaderReaderpublic boolean hasNextSeparator(char separator,
boolean skipWhiteSpace)
HttpHeaderReaderhasNextSeparator in class HttpHeaderReaderpublic java.lang.String nextSeparatedString(char startSeparator,
char endSeparator)
throws java.text.ParseException
HttpHeaderReadernextSeparatedString in class HttpHeaderReaderjava.text.ParseExceptionpublic HttpHeaderReader.Event next() throws java.text.ParseException
HttpHeaderReadernext in class HttpHeaderReaderjava.text.ParseExceptionpublic HttpHeaderReader.Event next(boolean skipWhiteSpace) throws java.text.ParseException
HttpHeaderReadernext in class HttpHeaderReaderjava.text.ParseExceptionpublic HttpHeaderReader.Event next(boolean skipWhiteSpace, boolean preserveBackslash) throws java.text.ParseException
HttpHeaderReadernext in class HttpHeaderReaderjava.text.ParseExceptionpublic HttpHeaderReader.Event getEvent()
HttpHeaderReadergetEvent in class HttpHeaderReaderpublic java.lang.CharSequence getEventValue()
HttpHeaderReadergetEventValue in class HttpHeaderReaderpublic java.lang.CharSequence getRemainder()
HttpHeaderReadergetRemainder in class HttpHeaderReaderpublic int getIndex()
HttpHeaderReadergetIndex in class HttpHeaderReaderprivate boolean skipWhiteSpace()
private char getNextCharacter(boolean skipWhiteSpace)
throws java.text.ParseException
java.text.ParseExceptionprivate HttpHeaderReader.Event process(char c, boolean preserveBackslash) throws java.text.ParseException
java.text.ParseExceptionprivate void processComment()
throws java.text.ParseException
java.text.ParseExceptionprivate void processQuotedString(boolean preserveBackslash)
throws java.text.ParseException
java.text.ParseException