Uses of Class
org.apache.http.ParseException
-
Packages that use ParseException Package Description org.apache.http Core HTTP component APIs and primitives.org.apache.http.entity Core HTTP entity implementations.org.apache.http.impl.io Default implementations of message parses and writers for synchronous, blocking communication.org.apache.http.impl.nio.codecs Default implementations of message parses and writers for asynchronous, even driven communication.org.apache.http.message Core HTTP message components, message element parser and writer APIs and their default implementations.org.apache.http.util Core utility classes. -
-
Uses of ParseException in org.apache.http
Methods in org.apache.http that throw ParseException Modifier and Type Method Description HeaderElement[]Header. getElements()Parses the value. -
Uses of ParseException in org.apache.http.entity
Methods in org.apache.http.entity that throw ParseException Modifier and Type Method Description static ContentTypeContentType. get(HttpEntity entity)ExtractsContent-Typevalue fromHttpEntityexactly as specified by theContent-Typeheader of the entity.static ContentTypeContentType. getLenientOrDefault(HttpEntity entity)ExtractsContent-Typevalue fromHttpEntityor returns the default valueContentType.DEFAULT_TEXTif not explicitly specified or incorrect (could not be parsed).static ContentTypeContentType. getOrDefault(HttpEntity entity)ExtractsContent-Typevalue fromHttpEntityor returns the default valueContentType.DEFAULT_TEXTif not explicitly specified.static ContentTypeContentType. parse(java.lang.String s)Parses textual representation ofContent-Typevalue. -
Uses of ParseException in org.apache.http.impl.io
Methods in org.apache.http.impl.io that throw ParseException Modifier and Type Method Description protected abstract TAbstractMessageParser. parseHead(SessionInputBuffer sessionBuffer)Subclasses must override this method to generate an instance ofHttpMessagebased on the initial input from the session buffer.protected HttpRequestDefaultHttpRequestParser. parseHead(SessionInputBuffer sessionBuffer)protected HttpResponseDefaultHttpResponseParser. parseHead(SessionInputBuffer sessionBuffer)protected HttpMessageHttpRequestParser. parseHead(SessionInputBuffer sessionBuffer)Deprecated.protected HttpMessageHttpResponseParser. parseHead(SessionInputBuffer sessionBuffer)Deprecated. -
Uses of ParseException in org.apache.http.impl.nio.codecs
Methods in org.apache.http.impl.nio.codecs that throw ParseException Modifier and Type Method Description protected abstract TAbstractMessageParser. createMessage(CharArrayBuffer buffer)CreatesHttpMessageinstance based on the content of the input buffer containing the first line of the incoming HTTP message.protected HttpRequestDefaultHttpRequestParser. createMessage(CharArrayBuffer buffer)protected HttpResponseDefaultHttpResponseParser. createMessage(CharArrayBuffer buffer)protected HttpMessageHttpRequestParser. createMessage(CharArrayBuffer buffer)Deprecated.protected HttpMessageHttpResponseParser. createMessage(CharArrayBuffer buffer)Deprecated.private voidAbstractMessageParser. parseHeadLine() -
Uses of ParseException in org.apache.http.message
Methods in org.apache.http.message that throw ParseException Modifier and Type Method Description protected intBasicTokenIterator. findNext(int pos)Determines the next token.HeaderElement[]BasicHeader. getElements()HeaderElement[]BufferedHeader. getElements()java.lang.ObjectBasicTokenIterator. next()Returns the next token.java.lang.StringBasicTokenIterator. nextToken()Obtains the next token from this iteration.static HeaderElement[]BasicHeaderValueParser. parseElements(java.lang.String value, HeaderValueParser parser)Parses elements with the given parser.HeaderElement[]HeaderValueParser. parseElements(CharArrayBuffer buffer, ParserCursor cursor)Parses a header value into elements.static HeaderBasicLineParser. parseHeader(java.lang.String value, LineParser parser)HeaderBasicLineParser. parseHeader(CharArrayBuffer buffer)HeaderLineParser. parseHeader(CharArrayBuffer buffer)Creates a header from a line.static HeaderElementBasicHeaderValueParser. parseHeaderElement(java.lang.String value, HeaderValueParser parser)Parses an element with the given parser.HeaderElementHeaderValueParser. parseHeaderElement(CharArrayBuffer buffer, ParserCursor cursor)Parses a single header element.static NameValuePairBasicHeaderValueParser. parseNameValuePair(java.lang.String value, HeaderValueParser parser)Parses a name-value-pair with the given parser.NameValuePairHeaderValueParser. parseNameValuePair(CharArrayBuffer buffer, ParserCursor cursor)Parses a name=value specification, where the = and value are optional.static NameValuePair[]BasicHeaderValueParser. parseParameters(java.lang.String value, HeaderValueParser parser)Parses parameters with the given parser.NameValuePair[]HeaderValueParser. parseParameters(CharArrayBuffer buffer, ParserCursor cursor)Parses a list of name-value pairs.static ProtocolVersionBasicLineParser. parseProtocolVersion(java.lang.String value, LineParser parser)ProtocolVersionBasicLineParser. parseProtocolVersion(CharArrayBuffer buffer, ParserCursor cursor)ProtocolVersionLineParser. parseProtocolVersion(CharArrayBuffer buffer, ParserCursor cursor)Parses the textual representation of a protocol version.static RequestLineBasicLineParser. parseRequestLine(java.lang.String value, LineParser parser)RequestLineBasicLineParser. parseRequestLine(CharArrayBuffer buffer, ParserCursor cursor)Parses a request line.RequestLineLineParser. parseRequestLine(CharArrayBuffer buffer, ParserCursor cursor)Parses a request line.static StatusLineBasicLineParser. parseStatusLine(java.lang.String value, LineParser parser)StatusLineBasicLineParser. parseStatusLine(CharArrayBuffer buffer, ParserCursor cursor)StatusLineLineParser. parseStatusLine(CharArrayBuffer buffer, ParserCursor cursor)Parses a status line.Constructors in org.apache.http.message that throw ParseException Constructor Description BufferedHeader(CharArrayBuffer buffer)Creates a new header from a buffer. -
Uses of ParseException in org.apache.http.util
Methods in org.apache.http.util that throw ParseException Modifier and Type Method Description static java.lang.StringEntityUtils. getContentCharSet(HttpEntity entity)Deprecated.(4.1.3) useContentType.getOrDefault(HttpEntity)static java.lang.StringEntityUtils. getContentMimeType(HttpEntity entity)Deprecated.(4.1.3) useContentType.getOrDefault(HttpEntity)static java.lang.StringEntityUtils. toString(HttpEntity entity)Read the contents of an entity and return it as a String.static java.lang.StringEntityUtils. toString(HttpEntity entity, java.lang.String defaultCharset)Get the entity content as a String, using the provided default character set if none is found in the entity.static java.lang.StringEntityUtils. toString(HttpEntity entity, java.nio.charset.Charset defaultCharset)Get the entity content as a String, using the provided default character set if none is found in the entity.
-