newRecycler.reader = reader;
newRecycler.handler = handler;
newRecycler.closeDate = null;
Ready ready;
if (request.isSecure()) {
ready = secureReadyFactory.create(queue, new OnceByteBufferAllocator());
} else {
ready = readyFactory.create(queue, new OnceByteBufferAllocator());
}
ready.connect(request.getAddress(), new ReadyConnection() {
private HttpResponseReader.RecyclingHandler recyclingHandler;
@Override
public void handle(Address address, ByteBuffer buffer) {