org.apache.http.io
Interface HttpMessageParser

All Known Implementing Classes:
AbstractMessageParser, HttpRequestParser, HttpResponseParser

public interface HttpMessageParser

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

Since:
4.0
Version:
$Revision: 744527 $

Method Summary
 HttpMessage parse()
          Generates an instance of HttpMessage from the underlying data source.
 

Method Detail

parse

HttpMessage parse()
                  throws IOException,
                         HttpException
Generates an instance of HttpMessage from the underlying data source.

Returns:
HTTP message
Throws:
IOException - in case of an I/O error
HttpException - in case of HTTP protocol violation


Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.