public int getIntHeader(String name) {
        String value = getHeader(name);
        if (value == null) {
            return -1;
        } else {
            return Integer.parseInt(value);
        }
    }
@Test
    void testGetIntHeader() {
        URI uri = URI.create("http://localhost:8080/test");
        HttpRequest httpReq = newRequest(uri, HttpRequest.Method.GET, HttpRequest.Version.HTTP_1_1);
        DiscFilterRequest request = new DiscFilterRequest(httpReq);

        assertEquals(-1, request.getIntHeader("int_header"));

        request.addHeader("int_header", String.valueOf(5));

        assertEquals(5, request.getIntHeader("int_header"));
    }