|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.impl.nio.codecs.AbstractMessageParser<HttpResponse>
org.apache.http.impl.nio.codecs.DefaultHttpResponseParser
public class DefaultHttpResponseParser
Default NHttpMessageParser
implementation for HttpResponse
s.
The following parameters can be used to customize the behavior of this class:
Field Summary |
---|
Fields inherited from class org.apache.http.impl.nio.codecs.AbstractMessageParser |
---|
lineParser |
Constructor Summary | |
---|---|
DefaultHttpResponseParser(SessionInputBuffer buffer,
LineParser parser,
HttpResponseFactory responseFactory,
HttpParams params)
|
Method Summary | |
---|---|
protected HttpResponse |
createMessage(CharArrayBuffer buffer)
Creates HttpMessage instance based on the content of the input
buffer containing the first line of the incoming HTTP message. |
Methods inherited from class org.apache.http.impl.nio.codecs.AbstractMessageParser |
---|
fillBuffer, parse, reset |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultHttpResponseParser(SessionInputBuffer buffer, LineParser parser, HttpResponseFactory responseFactory, HttpParams params)
Method Detail |
---|
protected HttpResponse createMessage(CharArrayBuffer buffer) throws HttpException, ParseException
AbstractMessageParser
HttpMessage
instance based on the content of the input
buffer containing the first line of the incoming HTTP message.
createMessage
in class AbstractMessageParser<HttpResponse>
buffer
- the line buffer.
HttpException
- in case of HTTP protocol violation
ParseException
- in case of a parse error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |