protected void doFilterInternal(SlingHttpServletRequest req, SlingHttpServletResponse res) throws IOException { ThrottlingDecision decision = state.evaluateThrottling(); if (decision.getState().equals(ThrottlingDecision.State.THROTTLE)) { if (this.config.reject_on_throttle()) { String msg = "Request rejected because of throttling: " + decision.message; req.getRequestProgressTracker().log(msg); LOG.info(msg); res.sendError(config.http_status_on_reject(), decision.message); } else { String msg = "Throttling request (" + decision.message + ")"; req.getRequestProgressTracker().log(msg); LOG.info(msg); delay(decision.delay); } } else { // not throttled req.getRequestProgressTracker().log("Request not throttled"); } }
request.getRequestProgressTracker().log( "Will not look for a servlet at {0} as it is not in the list of allowed paths", scriptName
request.getRequestProgressTracker().log( "Calling PostOperation: {0}", operation.getClass().getName()); final SlingPostProcessor[] processors = this.cachedPostProcessors;
request.getRequestProgressTracker().log( "StreamRendererServlet: Not rendering index, response is committed or request included"); log.warn("StreamRendererServlet: Not rendering index, response is committed or request included");
request.getRequestProgressTracker().log( "StreamRendererServlet does not support for extension " + ext); if (included || response.isCommitted()) { request.getRequestProgressTracker().log( "StreamRendererServlet: Not redirecting with trailing slash, response is committed or request included"); log.warn("StreamRendererServlet: Not redirecting with trailing slash, response is committed or request included");