public boolean isSecure() {
        if(getScheme().equalsIgnoreCase(HTTPS_PREFIX)) {
            return true;
        }
        return false;
    }
@Test
    void testIsSecure() {
        {
            URI uri = URI.create("http://example.yahoo.com/test");
            HttpRequest httpReq = newRequest(uri, HttpRequest.Method.GET, HttpRequest.Version.HTTP_1_1);
            DiscFilterRequest request = new DiscFilterRequest(httpReq);
            assertFalse(request.isSecure());
        }
        {
            URI uri = URI.create("https://example.yahoo.com/test");
            HttpRequest httpReq = newRequest(uri, HttpRequest.Method.GET, HttpRequest.Version.HTTP_1_1);
            DiscFilterRequest request = new DiscFilterRequest(httpReq);
            assertTrue(request.isSecure());
        }
    }