org.apache.http.impl.io
Class DefaultHttpResponseParserFactory

java.lang.Object
  extended by org.apache.http.impl.io.DefaultHttpResponseParserFactory
All Implemented Interfaces:
HttpMessageParserFactory<HttpResponse>

@Immutable
public class DefaultHttpResponseParserFactory
extends Object
implements HttpMessageParserFactory<HttpResponse>

Default factory for response message parsers.

Since:
4.3

Field Summary
static DefaultHttpResponseParserFactory INSTANCE
           
 
Constructor Summary
DefaultHttpResponseParserFactory()
           
DefaultHttpResponseParserFactory(LineParser lineParser, HttpResponseFactory responseFactory)
           
 
Method Summary
 HttpMessageParser<HttpResponse> create(SessionInputBuffer buffer, MessageConstraints constraints)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final DefaultHttpResponseParserFactory INSTANCE
Constructor Detail

DefaultHttpResponseParserFactory

public DefaultHttpResponseParserFactory(LineParser lineParser,
                                        HttpResponseFactory responseFactory)

DefaultHttpResponseParserFactory

public DefaultHttpResponseParserFactory()
Method Detail

create

public HttpMessageParser<HttpResponse> create(SessionInputBuffer buffer,
                                              MessageConstraints constraints)
Specified by:
create in interface HttpMessageParserFactory<HttpResponse>


Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.