Top Description Methods
org.apache.http.io

public Interface HttpMessageParser<T extends org.apache.http.HttpMessage>

Known Direct Implementers
org.apache.http.impl.io.AbstractMessageParser
Type Parameters
<T>
HttpMessage or a subclass
Imports
java.io.IOException, org.apache.http.HttpException, .HttpMessage

Abstract message parser intended to build HTTP messages from an arbitrary data source.
Since
4.0

Method Summary

Modifier and TypeMethod and Description
public T

Returns:

HTTP message
parse
()

Generates an instance of HttpMessage from the underlying data source.

Method Detail

parseback to summary
public T parse() throws IOException, HttpException

Generates an instance of HttpMessage from the underlying data source.

Returns:T

HTTP message

Exceptions
IOException:
in case of an I/O error
HttpException:
in case of HTTP protocol violation