/** * Log a message summarizing the specified request and response, according * to the format specified by the <code>pattern</code> property. * * @param request Request being processed * @param response Response being processed * * @exception IOException if an input/output error has occurred * @exception ServletException if a servlet error has occurred */ public int invoke(Request request, Response response) throws IOException, ServletException { // Pass this request on to the next valve in our pipeline request.setNote(REQUEST_START_TIME_NOTE, Long.valueOf(System.currentTimeMillis())); return INVOKE_NEXT; }
/** * Log a message summarizing the specified request and response, according * to the format specified by the <code>pattern</code> property. * * @param request Request being processed * @param response Response being processed * * @exception IOException if an input/output error has occurred * @exception ServletException if a servlet error has occurred */ public int invoke(Request request, Response response) throws IOException, ServletException { // Pass this request on to the next valve in our pipeline request.setNote(REQUEST_START_TIME_NOTE, Long.valueOf(System.currentTimeMillis())); return INVOKE_NEXT; }
/** * Log a message summarizing the specified request and response, according * to the format specified by the <code>pattern</code> property. * * @param request Request being processed * @param response Response being processed */ public int invoke(Request request, Response response) { if (formatter.needTimeTaken()) { request.setNote(Constants.REQUEST_START_TIME_NOTE, System.currentTimeMillis()); } return INVOKE_NEXT; }
request.setNote(Constants.REQ_SSOID_NOTE, cookie.getValue()); ((HttpRequest) request).setAuthType(entry.getAuthType()); ((HttpRequest) request).setUserPrincipal(entry.getPrincipal());