public static boolean isHttpsRequest(Request request) { return (request.getHeader(SSL_HEADER) != null && request.getHeader(SSL_HEADER).contains("https")) || isOverHttpsPort(request.host()); }
@Override public String getRequestHeader(final String name) { return request.getHeader(name); }