285286287288289290291
this.duration = -1; } } protected ByteBufferAllocator createByteBufferAllocator() { return new HeapByteBufferAllocator(); }
80818283848586
final HttpProcessor httpProcessor, final HttpResponseFactory responseFactory, final ConnectionReuseStrategy connStrategy, final HttpParams params) { this(httpProcessor, responseFactory, connStrategy, new HeapByteBufferAllocator(), params); }
90919293949596
* a different implementation of the {@link ByteBufferAllocator} interface. * * @return byte buffer allocator. */ protected ByteBufferAllocator createByteBufferAllocator() { return new HeapByteBufferAllocator(); }
129130131132133134135
979899100101102103
public BasicNIOConnFactory( final SSLContext sslcontext, final SSLSetupHandler sslHandler, final HttpParams params) { this(sslcontext, sslHandler, new DefaultHttpResponseFactory(), new HeapByteBufferAllocator(), params); }
124125126127128129130
9899100101102103104
92939495969798
public SSLNHttpClientConnectionFactory( final SSLContext sslcontext, final SSLSetupHandler sslHandler, final HttpParams params) { this(sslcontext, sslHandler, new DefaultHttpResponseFactory(), new HeapByteBufferAllocator(), params); }