Top Inners Fields Constructors Methods
org.apache.hc.client5.http.ssl

pack-priv final Class DistinguishedNameParser

extends Object
Class Inheritance
Imports
java.util.ArrayList, .BitSet, .List, org.apache.hc.core5.http.NameValuePair, org.apache.hc.core5.http.message.BasicNameValuePair, org.apache.hc.core5.util.CharArrayBuffer, .Tokenizer

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
private static final BitSet
private static final BitSet
public static final DistinguishedNameParser
private final Tokenizer

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv List<NameValuePair>
parse(final CharArrayBuffer buf, final Tokenizer.Cursor cursor)

pack-priv List<NameValuePair>
parse(final String s)

private NameValuePair
private String
parseToken(final CharArrayBuffer buf, final Tokenizer.Cursor cursor, final BitSet delimiters)

private String
parseValue(final CharArrayBuffer buf, final Tokenizer.Cursor cursor, final BitSet delimiters)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

COMMA_OR_PLUSback to summary
private static final BitSet COMMA_OR_PLUS
EQUAL_OR_COMMA_OR_PLUSback to summary
private static final BitSet EQUAL_OR_COMMA_OR_PLUS
INSTANCEback to summary
public static final DistinguishedNameParser INSTANCE
tokenParserback to summary
private final Tokenizer tokenParser

Constructor Detail

DistinguishedNameParserback to summary
pack-priv DistinguishedNameParser()

Method Detail

parseback to summary
pack-priv List<NameValuePair> parse(final CharArrayBuffer buf, final Tokenizer.Cursor cursor)
parseback to summary
pack-priv List<NameValuePair> parse(final String s)
parseParameterback to summary
private NameValuePair parseParameter(final CharArrayBuffer buf, final Tokenizer.Cursor cursor)
parseTokenback to summary
private String parseToken(final CharArrayBuffer buf, final Tokenizer.Cursor cursor, final BitSet delimiters)
parseValueback to summary
private String parseValue(final CharArrayBuffer buf, final Tokenizer.Cursor cursor, final BitSet delimiters)
org.apache.hc.client5.http.ssl back to summary

pack-priv Class DistinguishedNameParser.InternalTokenParser

extends Tokenizer
Class Inheritance

Field Summary

Inherited from org.apache.hc.core5.util.Tokenizer:
CRDQUOTEESCAPEHTINSTANCELFSP

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
copyUnquotedContent(final CharSequence
buffer with the sequence of chars to be parsed
buf
,
final Tokenizer.Cursor
defines the bounds and current position of the buffer
cursor
,
final BitSet
set of delimiting characters. Can be null if the value is delimited by a whitespace or a quote only.
delimiters
,
final StringBuilder
destination buffer
dst
)

Overrides org.apache.hc.core5.util.Tokenizer.copyUnquotedContent.

Transfers content into the destination buffer until a whitespace character, a quote, or any of the given delimiters is encountered.
Inherited from org.apache.hc.core5.util.Tokenizer:
copyContentcopyQuotedContentINIT_BITSETisWhitespaceparseContentparseTokenparseValueskipWhiteSpace

Constructor Detail

InternalTokenParserback to summary
pack-priv InternalTokenParser()

Method Detail

copyUnquotedContentback to summary
public void copyUnquotedContent(final CharSequence buf, final Tokenizer.Cursor cursor, final BitSet delimiters, final StringBuilder dst)

Overrides org.apache.hc.core5.util.Tokenizer.copyUnquotedContent.

Doc from org.apache.hc.core5.util.Tokenizer.copyUnquotedContent.

Transfers content into the destination buffer until a whitespace character, a quote, or any of the given delimiters is encountered.

Parameters
buf:CharSequence

buffer with the sequence of chars to be parsed

cursor:Tokenizer.Cursor

defines the bounds and current position of the buffer

delimiters:BitSet

set of delimiting characters. Can be null if the value is delimited by a whitespace or a quote only.

dst:StringBuilder

destination buffer

Annotations
@Override