Package | Description |
---|---|
org.apache.hc.core5.http.message |
Core HTTP message components, message element parser
and writer APIs and their default implementations.
|
Modifier and Type | Method and Description |
---|---|
void |
TokenParser.copyContent(CharSequence buf,
ParserCursor cursor,
BitSet delimiters,
StringBuilder dst)
Transfers content into the destination buffer until a whitespace character or any of
the given delimiters is encountered.
|
void |
TokenParser.copyQuotedContent(CharSequence buf,
ParserCursor cursor,
StringBuilder dst)
Transfers content enclosed with quote marks into the destination buffer.
|
void |
TokenParser.copyUnquotedContent(CharSequence buf,
ParserCursor 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.
|
HeaderElement[] |
HeaderValueParser.parseElements(CharSequence buffer,
ParserCursor cursor)
Parses a header value into elements.
|
HeaderElement[] |
BasicHeaderValueParser.parseElements(CharSequence buffer,
ParserCursor cursor) |
HeaderElement |
HeaderValueParser.parseHeaderElement(CharSequence buffer,
ParserCursor cursor)
Parses a single header element.
|
HeaderElement |
BasicHeaderValueParser.parseHeaderElement(CharSequence buffer,
ParserCursor cursor) |
NameValuePair |
HeaderValueParser.parseNameValuePair(CharSequence buffer,
ParserCursor cursor)
Parses a name=value specification, where the = and value are optional.
|
NameValuePair |
BasicHeaderValueParser.parseNameValuePair(CharSequence buffer,
ParserCursor cursor) |
NameValuePair[] |
HeaderValueParser.parseParameters(CharSequence buffer,
ParserCursor cursor)
Parses a list of name-value pairs.
|
NameValuePair[] |
BasicHeaderValueParser.parseParameters(CharSequence buffer,
ParserCursor cursor) |
String |
TokenParser.parseToken(CharSequence buf,
ParserCursor cursor,
BitSet delimiters)
Extracts from the sequence of chars a token terminated with any of the given delimiters
discarding semantically insignificant whitespace characters.
|
static Set<String> |
MessageSupport.parseTokens(CharSequence src,
ParserCursor cursor) |
String |
TokenParser.parseValue(CharSequence buf,
ParserCursor 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 |
TokenParser.skipWhiteSpace(CharSequence buf,
ParserCursor 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.