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
parse
HttpMessage parse()
throws java.io.IOException,
HttpException
- Generates an instance of
HttpMessage
from the underlying data
source.
- Returns:
- HTTP message
- Throws:
java.io.IOException
- in case of an I/O error
HttpException
- in case of HTTP protocol violation
Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.