public class

HttpResponseParser

extends AbstractMessageParser<T extends HttpMessage>
java.lang.Object
   ↳ org.apache.http.impl.nio.codecs.AbstractMessageParser<T extends org.apache.http.HttpMessage>
     ↳ org.apache.http.impl.nio.codecs.HttpResponseParser

This class is deprecated.
use DefaultHttpResponseParser

Class Overview

Default NHttpMessageParser implementation for HttpResponses.

The following parameters can be used to customize the behavior of this class:

Summary

[Expand]
Inherited Fields
From class org.apache.http.impl.nio.codecs.AbstractMessageParser
Public Constructors
HttpResponseParser(SessionInputBuffer buffer, LineParser parser, HttpResponseFactory responseFactory, HttpParams params)
Protected Methods
HttpMessage createMessage(CharArrayBuffer buffer)
Creates HttpMessage instance based on the content of the input buffer containing the first line of the incoming HTTP message.
[Expand]
Inherited Methods
From class org.apache.http.impl.nio.codecs.AbstractMessageParser
From class java.lang.Object
From interface org.apache.http.nio.NHttpMessageParser

Public Constructors

public HttpResponseParser (SessionInputBuffer buffer, LineParser parser, HttpResponseFactory responseFactory, HttpParams params)

Protected Methods

protected HttpMessage createMessage (CharArrayBuffer buffer)

Creates HttpMessage instance based on the content of the input buffer containing the first line of the incoming HTTP message.

Parameters
buffer the line buffer.
Returns
  • HTTP message.
Throws
HttpException
ParseException