channel = new AsyncChannelWrapperSecure(socketChannel, sslEngine); } else { channel = new AsyncChannelWrapperNonSecure(socketChannel);
fConnect.get(timeout, TimeUnit.MILLISECONDS); channel = new AsyncChannelWrapperNonSecure(socketChannel); writeRequest(channel, proxyConnect, timeout); HttpResponse httpResponse = processResponse(response, channel, timeout); channel = new AsyncChannelWrapperNonSecure(socketChannel);
fConnect.get(timeout, TimeUnit.MILLISECONDS); channel = new AsyncChannelWrapperNonSecure(socketChannel); writeRequest(channel, proxyConnect, timeout); HttpResponse httpResponse = processResponse(response, channel, timeout); channel = new AsyncChannelWrapperNonSecure(socketChannel);
fConnect.get(timeout, TimeUnit.MILLISECONDS); channel = new AsyncChannelWrapperNonSecure(socketChannel); writeRequest(channel, proxyConnect, timeout); HttpResponse httpResponse = processResponse(response, channel, timeout); channel = new AsyncChannelWrapperNonSecure(socketChannel);
channel = new AsyncChannelWrapperSecure(socketChannel, sslEngine); } else { channel = new AsyncChannelWrapperNonSecure(socketChannel);