class Request implements PrometheusHttpRequest {

        private final HttpServletRequest request;

        public Request(HttpServletRequest request) {
            this.request = request;
        }

		@Override
        public String getQueryString() {
            return request.getQueryString();
        }

        @Override
        public Enumeration<String> getHeaders(String name) {
            return request.getHeaders(name);
        }

        @Override
        public String getMethod() {
            return request.getMethod();
        }

        @Override
        public String getRequestPath() {<FILL_FUNCTION_BODY>}
    }

            StringBuilder uri = new StringBuilder();
            String contextPath = request.getContextPath();
            if (contextPath.startsWith("/")) {
                uri.append(contextPath);
            }
            String servletPath = request.getServletPath();
            if (servletPath.startsWith("/")) {
                uri.append(servletPath);
            }
            String pathInfo = request.getPathInfo();
            if (pathInfo != null) {
                uri.append(pathInfo);
            }
            return uri.toString();
        
<no_super_class>