class HttpServletRequestImpl implements HttpServletRequest {

    @Override
    public int getIntHeader(final String name) {
        if (!headers.containsHeader(name)) {
            return -1;
        }

        try {
            return Integer.parseInt(getHeader(name));
        } catch (NumberFormatException e) {
            return 0;
        }
    }

    private  HttpServletRequestImpl();

}