| Modifier and Type | Class and Description |
|---|---|
| private static class | ConnectionUrlParser.Cursor
Parse cursor state. |
| pack-priv static class | ConnectionUrlParser.QueryStringParser
Parser for RFC3986-style query strings such as |
| Modifier and Type | Field and Description |
|---|---|
| private static final Set | |
| private static final String | R2DBC_SCHEME
Scheme for R2DBC. |
| private static final String | R2DBC_SSL_SCHEME
Scheme for R2DBC with SSL enabled. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static CharSequence | Returns: the newly decodedCharSequence.the s)CharSequence to decode.Simplified fork of |
| private static boolean | |
| pack-priv static ConnectionFactoryOptions | |
| pack-priv static void | parseQuery(CharSequence
input text s, BiConsumer<String, String> consumer notified on tuple creation tupleConsumer)Parse a |
| private static void | |
| pack-priv static void |
| PROHIBITED_QUERY_OPTIONS | back to summary |
|---|---|
| private static final Set<String> PROHIBITED_QUERY_OPTIONS | |
| R2DBC_SCHEME | back to summary |
|---|---|
| private static final String R2DBC_SCHEME Scheme for R2DBC. | |
| R2DBC_SSL_SCHEME | back to summary |
|---|---|
| private static final String R2DBC_SSL_SCHEME Scheme for R2DBC with SSL enabled. | |
| ConnectionUrlParser | back to summary |
|---|---|
| private ConnectionUrlParser() | |
| decode | back to summary |
|---|---|
| private static CharSequence decode(CharSequence s) Simplified fork of
| |
| hasText | back to summary |
|---|---|
| private static boolean hasText(String s) | |
| parseQuery | back to summary |
|---|---|
| pack-priv static ConnectionFactoryOptions parseQuery(CharSequence url) | |
| parseQuery | back to summary |
|---|---|
| pack-priv static void parseQuery(CharSequence s, BiConsumer<String, String> tupleConsumer) Parse a
| |
| parseUserinfo | back to summary |
|---|---|
| private static void parseUserinfo(String s, ConnectionFactoryOptions. | |
| validate | back to summary |
|---|---|
| pack-priv static void validate(String url) | |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | |
| pack-priv int | |
| pack-priv void | |
| pack-priv boolean | |
| pack-priv void |
| pos | back to summary |
|---|---|
| private int pos | |
| upperBound | back to summary |
|---|---|
| private final int upperBound | |
| Cursor | back to summary |
|---|---|
| pack-priv Cursor(int upperBound) | |
| getParsePosition | back to summary |
|---|---|
| pack-priv int getParsePosition() | |
| getUpperBound | back to summary |
|---|---|
| pack-priv int getUpperBound() | |
| incrementParsePosition | back to summary |
|---|---|
| pack-priv void incrementParsePosition() | |
| isFinished | back to summary |
|---|---|
| pack-priv boolean isFinished() | |
| updatePos | back to summary |
|---|---|
| pack-priv void updatePos(final int pos) | |
key1=value1&key2=value2.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final char | CR
carriage return (ASCII 13). |
| private final BitSet | |
| private final CharSequence | |
| pack-priv static final char | LF
line feed (ASCII 10). |
| pack-priv static final char | SPACE
space (ASCII 32). |
| private final ConnectionUrlParser. | |
| pack-priv static final char | TAB
horizontal-tab (ASCII 9). |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | copyContent(StringBuilder
destination buffer target)Transfers content into the destination buffer until a whitespace character or any of the given delimiters is encountered. |
| pack-priv static ConnectionUrlParser. | Returns: a newQueryStringParser instancemust not be input)nullCreates a new |
| pack-priv boolean | Returns: true if parsing is finished; false otherwiseReturns whether parsing is finished. |
| private static boolean | |
| pack-priv CharSequence | Returns: name of the key-value pairExtracts a sequence of characters identifying the name of the key-value tuple. |
| private CharSequence | parseToken()
Extracts from the sequence of chars a token terminated with any of the given delimiters discarding semantically insignificant whitespace characters. |
| pack-priv CharSequence | Returns: value of the key-value pair, can benullExtracts a sequence of characters identifying the name of the key-value tuple. |
| private void | skipWhiteSpace()
Skips semantically insignificant whitespace characters and moves the cursor to the closest non-whitespace character. |
| CR | back to summary |
|---|---|
| pack-priv static final char CR carriage return (ASCII 13). | |
| delimiters | back to summary |
|---|---|
| private final BitSet delimiters | |
| input | back to summary |
|---|---|
| private final CharSequence input | |
| LF | back to summary |
|---|---|
| pack-priv static final char LF line feed (ASCII 10). | |
| SPACE | back to summary |
|---|---|
| pack-priv static final char SPACE space (ASCII 32). | |
| state | back to summary |
|---|---|
| private final ConnectionUrlParser. | |
| TAB | back to summary |
|---|---|
| pack-priv static final char TAB horizontal-tab (ASCII 9). | |
| QueryStringParser | back to summary |
|---|---|
| private QueryStringParser(CharSequence input) | |
| copyContent | back to summary |
|---|---|
| private void copyContent(StringBuilder target) Transfers content into the destination buffer until a whitespace character or any of the given delimiters is encountered.
| |
| create | back to summary |
|---|---|
| pack-priv static ConnectionUrlParser. Creates a new
| |
| isFinished | back to summary |
|---|---|
| pack-priv boolean isFinished() Returns whether parsing is finished.
| |
| isWhitespace | back to summary |
|---|---|
| private static boolean isWhitespace(char ch) | |
| parseName | back to summary |
|---|---|
| pack-priv CharSequence parseName() Extracts a sequence of characters identifying the name of the key-value tuple.
| |
| parseToken | back to summary |
|---|---|
| private CharSequence parseToken() Extracts from the sequence of chars a token terminated with any of the given delimiters discarding semantically insignificant whitespace characters. | |
| parseValue | back to summary |
|---|---|
| pack-priv CharSequence parseValue() Extracts a sequence of characters identifying the name of the key-value tuple.
| |
| skipWhiteSpace | back to summary |
|---|---|
| private void skipWhiteSpace() Skips semantically insignificant whitespace characters and moves the cursor to the closest non-whitespace character. | |