129130131132133134135
* a different implementation of the {@link ByteBufferAllocator} interface. * * @return byte buffer allocator. */ protected ByteBufferAllocator createByteBufferAllocator() { return new HeapByteBufferAllocator(); }
124125126127128129130
final HttpProcessor httpProcessor, final HttpResponseFactory responseFactory, final ConnectionReuseStrategy connStrategy, final HttpParams params) { this(httpProcessor, responseFactory, connStrategy, new HeapByteBufferAllocator(), params); }
131132133134135136137
60616263646566
this.charset = Charset.forName("US-ASCII"); this.chardecoder = this.charset.newDecoder(); } public SessionInputBuffer(int buffersize, int linebuffersize) { this(buffersize, linebuffersize, new HeapByteBufferAllocator()); }
62636465666768
this.charset = Charset.forName("US-ASCII"); this.charencoder = this.charset.newEncoder(); } public SessionOutputBuffer(int buffersize, int linebuffersize) { this(buffersize, linebuffersize, new HeapByteBufferAllocator()); }
84858687888990
public SSLClientIOEventDispatch( final NHttpClientHandler handler, final SSLContext sslcontext, final HttpParams params) { this(handler, sslcontext, null, new HeapByteBufferAllocator(), params); }
public SSLServerIOEventDispatch( final NHttpServiceHandler handler, final SSLContext sslcontext, final HttpParams params) { this(handler, sslcontext, null, new HeapByteBufferAllocator(), params); }
67686970717273
} public DefaultClientIOEventDispatch( final NHttpClientHandler handler, final HttpParams params) { this(handler, new HeapByteBufferAllocator(), params); }
93949596979899
69707172737475