Example usage for org.apache.http.message BasicLineParser INSTANCE

List of usage examples for org.apache.http.message BasicLineParser INSTANCE

Introduction

In this page you can find the example usage for org.apache.http.message BasicLineParser INSTANCE.

Prototype

BasicLineParser INSTANCE

To view the source code for org.apache.http.message BasicLineParser INSTANCE.

Click Source Link

Usage

From source file:org.apache.http.impl.nio.conn.DefaultClientAsyncConnectionFactory.java

public DefaultClientAsyncConnectionFactory() {
    super();// w w  w  .  j av a 2  s.  co  m
    this.responseFactory = createHttpResponseFactory();
    this.responseParserFactory = new DefaultHttpResponseParserFactory(BasicLineParser.INSTANCE,
            this.responseFactory);
    this.allocator = createByteBufferAllocator();
}