Uses of Class
org.apache.hc.core5.http.ParseException
Packages that use ParseException
Package
Description
Core HTTP transport component APIs.
HTTP Digest Fields as defined by RFC 9530.
HTTP message entity APIs based on the classic (blocking) I/O model.
Core HTTP message components, message element parser
and writer APIs and their default implementations.
Immutable data model, strict parser, canonical serializer, and message-header
integration for Structured Field Structured Field Values for HTTP.
-
Uses of ParseException in org.apache.hc.core5.http
Methods in org.apache.hc.core5.http that throw ParseExceptionModifier and TypeMethodDescriptionstatic ProtocolVersionProtocolVersion.parse(CharSequence buffer, Tokenizer.Cursor cursor, Tokenizer.Delimiter delimiterPredicate) static ProtocolVersionProtocolVersionParser.parse(CharSequence buffer, Tokenizer.Cursor cursor, Tokenizer.Delimiter delimiterPredicate) ProtocolVersionParser.parse(String protocol, CharSequence buffer, Tokenizer.Cursor cursor) ProtocolVersionParser.parse(String protocol, CharSequence buffer, Tokenizer.Cursor cursor, Tokenizer.Delimiter delimiterPredicate) ProtocolVersionParser.parse(String protocol, ProtocolVersionParser.Factory factory, CharSequence buffer, Tokenizer.Cursor cursor, Tokenizer.Delimiter delimiterPredicate) -
Uses of ParseException in org.apache.hc.core5.http.digest
Methods in org.apache.hc.core5.http.digest that throw ParseExceptionModifier and TypeMethodDescriptionstatic StructuredFieldDictionaryDigestFields.parseDigest(Header header) Parses and validates aContent-DigestorRepr-Digestfield value.static StructuredFieldDictionaryDigestFields.parseDigest(MessageHeaders headers, String name) Parses and validates all field lines with the given name as oneContent-DigestorRepr-Digestdictionary.static StructuredFieldDictionaryDigestFields.parsePreferences(Header header) Parses and validates aWant-Content-DigestorWant-Repr-Digestfield value.static StructuredFieldDictionaryDigestFields.parsePreferences(MessageHeaders headers, String name) Parses and validates all field lines with the given name as oneWant-Content-DigestorWant-Repr-Digestdictionary.private static StructuredFieldDictionaryDigestFields.validateParsedDigest(StructuredFieldDictionary dictionary) private static StructuredFieldDictionaryDigestFields.validateParsedPreferences(StructuredFieldDictionary dictionary) -
Uses of ParseException in org.apache.hc.core5.http.io.entity
Methods in org.apache.hc.core5.http.io.entity that throw ParseExceptionModifier and TypeMethodDescriptionstatic StringEntityUtils.toString(HttpEntity entity) Deprecated.static StringEntityUtils.toString(HttpEntity entity, int maxResultLength) Reads the contents of an entity and return it as a String.static StringEntityUtils.toString(HttpEntity entity, String defaultCharset) Gets the entity content as a String, using the provided default character set if none is found in the entity.static StringEntityUtils.toString(HttpEntity entity, String defaultCharset, int maxResultLength) Deprecated.static StringEntityUtils.toString(HttpEntity entity, Charset defaultCharset) Deprecated.static StringEntityUtils.toString(HttpEntity entity, Charset defaultCharset, int maxResultLength) Gets the entity content as a String, using the provided default character set if none is found in the entity. -
Uses of ParseException in org.apache.hc.core5.http.message
Methods in org.apache.hc.core5.http.message that throw ParseExceptionModifier and TypeMethodDescriptionvoidElementConsumer.accept(CharSequence buffer, ParserCursor cursor) ElementTransformation.apply(CharSequence buffer, ParserCursor cursor) static voidMessageSupport.parseElementListStrict(CharSequence src, ParserCursor cursor, ElementConsumer consumer) static voidMessageSupport.parseElementListStrict(MessageHeaders headers, String name, ElementConsumer consumer) BasicLineParser.parseHeader(CharArrayBuffer buffer) LazyLaxLineParser.parseHeader(CharArrayBuffer buffer) LazyLineParser.parseHeader(CharArrayBuffer buffer) LineParser.parseHeader(CharArrayBuffer buffer) Parses a header from the given buffer containing one line of text.static voidMessageSupport.parseHeadersStrict(MessageHeaders headers, String name, ElementConsumer consumer) static voidMessageSupport.parseHeaderStrict(Header header, ElementConsumer consumer) static <T> TMessageSupport.parseHeaderValueStrict(Header header, ElementTransformation<T> transformation) (package private) ProtocolVersionBasicLineParser.parseProtocolVersion(CharArrayBuffer buffer, ParserCursor cursor) BasicLineParser.parseRequestLine(CharArrayBuffer buffer) Parses a request line.LineParser.parseRequestLine(CharArrayBuffer buffer) Parses a request line from the given buffer containing one line of text.BasicLineParser.parseStatusLine(CharArrayBuffer buffer) LineParser.parseStatusLine(CharArrayBuffer buffer) Parses a status line from the given buffer containing one line of text.Constructors in org.apache.hc.core5.http.message that throw ParseExceptionModifierConstructorDescriptionBufferedHeader(CharArrayBuffer buffer) Creates a new header from a buffer.(package private)BufferedHeader(CharArrayBuffer buffer, boolean strict) -
Uses of ParseException in org.apache.hc.core5.http.ssl
Methods in org.apache.hc.core5.http.ssl that throw ParseExceptionModifier and TypeMethodDescriptionstatic ProtocolVersionTLS.parse(CharSequence buffer, Tokenizer.Cursor cursor, Tokenizer.Delimiter delimiterPredicate) static ProtocolVersion -
Uses of ParseException in org.apache.hc.core5.http.structured
Methods in org.apache.hc.core5.http.structured that return ParseExceptionMethods in org.apache.hc.core5.http.structured that throw ParseExceptionModifier and TypeMethodDescriptionprivate Stringprivate StructuredFieldBareItemStructuredFieldParser.parseBareItem()private booleanStructuredFieldParser.parseBoolean()private byte[]StructuredFieldParser.parseByteSequence()static StructuredFieldDictionaryStructuredFieldHeaders.parseDictionary(Header header) Parses one header as an Structured Field Dictionary.static StructuredFieldDictionaryStructuredFieldHeaders.parseDictionary(MessageHeaders headers, String name) Parses the matching field lines as a Structured Field Dictionary, reading each field line in place and merging its members, without combining the values into a new buffer.(package private) static StructuredFieldDictionaryStructuredFieldParser.parseDictionary(CharSequence input) Parses a complete Structured Field Dictionary field value.(package private) static StructuredFieldDictionaryStructuredFieldParser.parseDictionary(CharSequence input, Tokenizer.Cursor cursor) Parses a Dictionary from the current cursor position through its upper bound.(package private) static voidStructuredFieldParser.parseDictionaryElement(CharSequence input, Tokenizer.Cursor cursor, Map<String, StructuredFieldMember> accumulator) Parses a single Dictionary entry at the current cursor position intoaccumulator, consuming the surrounding optional whitespace so that the cursor stops at the following comma or the upper bound; a repeated key keeps its last value.(package private) static StructuredFieldDictionaryStructuredFieldParser.parseDictionaryLines(Iterable<? extends CharSequence> fieldValues) Combines field lines with a comma and parses an Structured Field Dictionary.private StructuredFieldDictionaryStructuredFieldParser.parseDictionaryValue()private StringStructuredFieldParser.parseDisplayString()private StructuredFieldInnerListStructuredFieldParser.parseInnerList()static StructuredFieldItemParses one header as an Structured Field Item.static StructuredFieldItemStructuredFieldHeaders.parseItem(MessageHeaders headers, String name) Parses the field namednameas a single Structured Field Item.(package private) static StructuredFieldItemStructuredFieldParser.parseItem(CharSequence input) Parses a complete Structured Field Item field value.(package private) static StructuredFieldItemStructuredFieldParser.parseItem(CharSequence input, Tokenizer.Cursor cursor) Parses an Item from the current cursor position through its upper bound.(package private) static StructuredFieldItemStructuredFieldParser.parseItemLines(Iterable<? extends CharSequence> fieldValues) Combines field lines with a comma and parses an Structured Field Item.private StructuredFieldItemStructuredFieldParser.parseItemValue()private StringStructuredFieldParser.parseKey()static StructuredFieldListParses one header as an Structured Field List.static StructuredFieldListStructuredFieldHeaders.parseList(MessageHeaders headers, String name) Parses the matching field lines as a Structured Field List, reading each field line in place and appending its members, without combining the values into a new buffer.(package private) static StructuredFieldListStructuredFieldParser.parseList(CharSequence input) Parses a complete Structured Field List field value.(package private) static StructuredFieldListStructuredFieldParser.parseList(CharSequence input, Tokenizer.Cursor cursor) Parses a List from the current cursor position through its upper bound.(package private) static StructuredFieldMemberStructuredFieldParser.parseListElement(CharSequence input, Tokenizer.Cursor cursor) Parses a single List member at the current cursor position, consuming the surrounding optional whitespace so that the cursor stops at the following comma or the upper bound.(package private) static StructuredFieldListStructuredFieldParser.parseListLines(Iterable<? extends CharSequence> fieldValues) Combines field lines with a comma and parses an Structured Field List.private StructuredFieldListStructuredFieldParser.parseListValue()private StructuredFieldMemberStructuredFieldParser.parseMember()private StructuredFieldBareItemStructuredFieldParser.parseNumber()private StructuredFieldParametersStructuredFieldParser.parseParameters()private StringStructuredFieldParser.parseString()private voidStructuredFieldParser.require(char ch) private voidStructuredFieldParser.requireElementSeparator()private voidStructuredFieldParser.requireEnd()Constructors in org.apache.hc.core5.http.structured that throw ParseExceptionModifierConstructorDescriptionprivateStructuredFieldParser(CharSequence input, Tokenizer.Cursor cursor)
EntityUtils.toString(HttpEntity, Charset, int).