Package org.springframework.web.context.support

Examples of org.springframework.web.context.support.ServletRequestHandledEvent


      }
      if (this.publishEvents) {
        // Whether or not we succeeded, publish an event.
        long processingTime = System.currentTimeMillis() - startTime;
        this.webApplicationContext.publishEvent(
            new ServletRequestHandledEvent(this,
                request.getRequestURI(), request.getRemoteAddr(),
                request.getMethod(), getServletConfig().getServletName(),
                WebUtils.getSessionId(request), getUsernameForRequest(request),
                processingTime, failureCause));
      }
View Full Code Here


      }
      if (this.publishEvents) {
        // Whether or not we succeeded, publish an event.
        long processingTime = System.currentTimeMillis() - startTime;
        this.webApplicationContext.publishEvent(
            new ServletRequestHandledEvent(this,
                request.getRequestURI(), request.getRemoteAddr(),
                request.getMethod(), getServletConfig().getServletName(),
                WebUtils.getSessionId(request), getUsernameForRequest(request),
                processingTime, failureCause));
      }
View Full Code Here

      }
      if (this.publishEvents) {
        // Whether or not we succeeded, publish an event.
        long processingTime = System.currentTimeMillis() - startTime;
        this.webApplicationContext.publishEvent(
            new ServletRequestHandledEvent(this,
                request.getRequestURI(), request.getRemoteAddr(),
                request.getMethod(), getServletConfig().getServletName(),
                WebUtils.getSessionId(request), getUsernameForRequest(request),
                processingTime, failureCause));
      }
View Full Code Here

      }
      if (isPublishEvents()) {
        // Whether or not we succeeded, publish an event.
        long processingTime = System.currentTimeMillis() - startTime;
        this.webApplicationContext.publishEvent(
            new ServletRequestHandledEvent(this,
                request.getRequestURI(), request.getRemoteAddr(),
                request.getMethod(), getServletConfig().getServletName(),
                WebUtils.getSessionId(request), getUsernameForRequest(request),
                processingTime, failureCause));
      }
View Full Code Here

    if (this.publishEvents) {
      // Whether or not we succeeded, publish an event.
      long processingTime = System.currentTimeMillis() - startTime;
      int statusCode = (responseGetStatusAvailable ? response.getStatus() : -1);
      this.webApplicationContext.publishEvent(
          new ServletRequestHandledEvent(this,
              request.getRequestURI(), request.getRemoteAddr(),
              request.getMethod(), getServletConfig().getServletName(),
              WebUtils.getSessionId(request), getUsernameForRequest(request),
              processingTime, failureCause, statusCode));
    }
View Full Code Here

      }
      if (this.publishEvents) {
        // Whether or not we succeeded, publish an event.
        long processingTime = System.currentTimeMillis() - startTime;
        this.webApplicationContext.publishEvent(
            new ServletRequestHandledEvent(this,
                request.getRequestURI(), request.getRemoteAddr(),
                request.getMethod(), getServletConfig().getServletName(),
                WebUtils.getSessionId(request), getUsernameForRequest(request),
                processingTime, failureCause));
      }
View Full Code Here

      }
      if (this.publishEvents) {
        // Whether or not we succeeded, publish an event.
        long processingTime = System.currentTimeMillis() - startTime;
        this.webApplicationContext.publishEvent(
            new ServletRequestHandledEvent(this,
                request.getRequestURI(), request.getRemoteAddr(),
                request.getMethod(), getServletConfig().getServletName(),
                WebUtils.getSessionId(request), getUsernameForRequest(request),
                processingTime, failureCause));
      }
View Full Code Here

      }
      if (this.publishEvents) {
        // Whether or not we succeeded, publish an event.
        long processingTime = System.currentTimeMillis() - startTime;
        this.webApplicationContext.publishEvent(
            new ServletRequestHandledEvent(this,
                request.getRequestURI(), request.getRemoteAddr(),
                request.getMethod(), getServletConfig().getServletName(),
                WebUtils.getSessionId(request), getUsernameForRequest(request),
                processingTime, failureCause));
      }
View Full Code Here

TOP

Related Classes of org.springframework.web.context.support.ServletRequestHandledEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.