Package | Description |
---|---|
org.apache.hc.core5.http.message |
Core HTTP message components, message element parser
and writer APIs and their default implementations.
|
org.apache.hc.core5.util |
Core utility classes.
|
Modifier and Type | Class and Description |
---|---|
class |
ParserCursor
This class represents a context of a parsing operation:
the current position the parsing operation is expected to start at
the bounds limiting the scope of the parsing operation
|
Modifier and Type | Method and Description |
---|---|
void |
TokenParser.copyContent(CharSequence buf,
Tokenizer.Cursor cursor,
BitSet delimiters,
StringBuilder dst)
Deprecated.
|
void |
TokenParser.copyQuotedContent(CharSequence buf,
Tokenizer.Cursor cursor,
StringBuilder dst)
Deprecated.
|
void |
TokenParser.copyUnquotedContent(CharSequence buf,
Tokenizer.Cursor cursor,
BitSet delimiters,
StringBuilder dst)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
Tokenizer.copyContent(CharSequence buf,
Tokenizer.Cursor cursor,
BitSet delimiters,
StringBuilder dst)
Transfers content into the destination buffer until a whitespace character or any of
the given delimiters is encountered.
|
void |
Tokenizer.copyQuotedContent(CharSequence buf,
Tokenizer.Cursor cursor,
StringBuilder dst)
Transfers content enclosed with quote marks into the destination buffer.
|
void |
Tokenizer.copyUnquotedContent(CharSequence buf,
Tokenizer.Cursor cursor,
BitSet delimiters,
StringBuilder dst)
Transfers content into the destination buffer until a whitespace character, a quote,
or any of the given delimiters is encountered.
|
String |
Tokenizer.parseContent(CharSequence buf,
Tokenizer.Cursor cursor,
BitSet delimiters)
Extracts from the sequence of chars a token terminated with any of the given delimiters
or a whitespace characters.
|
String |
Tokenizer.parseToken(CharSequence buf,
Tokenizer.Cursor cursor,
BitSet delimiters)
Extracts from the sequence of chars a token terminated with any of the given delimiters
discarding semantically insignificant whitespace characters.
|
String |
Tokenizer.parseValue(CharSequence buf,
Tokenizer.Cursor cursor,
BitSet delimiters)
Extracts from the sequence of chars a value which can be enclosed in quote marks and
terminated with any of the given delimiters discarding semantically insignificant
whitespace characters.
|
void |
Tokenizer.skipWhiteSpace(CharSequence buf,
Tokenizer.Cursor cursor)
Skips semantically insignificant whitespace characters and moves the cursor to the closest
non-whitespace character.
|
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.