protected String getMonitoringUrl()

in src/main/java/com/googlesource/gerrit/plugins/javamelody/GerritMonitoringFilter.java [146:157]


    protected String getMonitoringUrl(HttpServletRequest httpRequest) {
      if (authenticatedMonitoringUrl == null) {
        authenticatedMonitoringUrl =
            httpRequest.getContextPath() + "/a" + Parameters.getMonitoringPath();
      }

      if (httpRequest.getRequestURI().equals(authenticatedMonitoringUrl)) {
        return authenticatedMonitoringUrl;
      }

      return super.getMonitoringUrl(httpRequest);
    }