class HttpHandler extends LoggingRequestHandler {

    protected static Duration getRequestTimeout(HttpRequest request, Duration defaultTimeout) {
        if ( ! request.hasProperty("timeout")) {
            return defaultTimeout;
        }
        try {
            return Duration.ofMillis((long) (Double.parseDouble(request.getProperty("timeout")) * 1000));
        } catch (Exception e) {
            return defaultTimeout;
        }
    }

    public  HttpHandler(HttpHandler.Context ctx);

}