static ConnectionInfo from(Channel channel, boolean headers, HttpRequest request) { if (headers) { return ConnectionInfo.newForwardedConnectionInfo(request, channel); } else { return ConnectionInfo.newConnectionInfo(channel); } }
static ConnectionInfo from(Channel channel, boolean headers, HttpRequest request) { if (headers) { return ConnectionInfo.newForwardedConnectionInfo(request, channel); } else { return ConnectionInfo.newConnectionInfo(channel); } }