Class ServerRequestHandledEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.web.context.support.RequestHandledEvent
io.microsphere.spring.webflux.context.event.ServerRequestHandledEvent
All Implemented Interfaces:
Serializable

public class ServerRequestHandledEvent extends org.springframework.web.context.support.RequestHandledEvent
RequestHandledEvent class for Spring WebFlux
Since:
1.0.0
Author:
Mercy
See Also:
  • Field Summary

    Fields inherited from class java.util.EventObject

    source
  • Constructor Summary

    Constructors
    Constructor
    Description
    ServerRequestHandledEvent(org.springframework.web.server.WebHandler webHandler, org.springframework.web.server.ServerWebExchange exchange, long processingTimeMillis)
     
    ServerRequestHandledEvent(org.springframework.web.server.WebHandler webHandler, org.springframework.web.server.ServerWebExchange exchange, long processingTimeMillis, Throwable failureCause)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.web.server.ServerWebExchange
    Get the ServerWebExchange
    org.springframework.web.server.WebHandler
    Get the WebHandler

    Methods inherited from class org.springframework.web.context.support.RequestHandledEvent

    getDescription, getFailureCause, getProcessingTimeMillis, getSessionId, getShortDescription, getUserName, toString, wasFailure

    Methods inherited from class org.springframework.context.ApplicationEvent

    getTimestamp

    Methods inherited from class java.util.EventObject

    getSource

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ServerRequestHandledEvent

      public ServerRequestHandledEvent(@Nonnull org.springframework.web.server.WebHandler webHandler, @Nonnull org.springframework.web.server.ServerWebExchange exchange, long processingTimeMillis)
    • ServerRequestHandledEvent

      public ServerRequestHandledEvent(@Nonnull org.springframework.web.server.WebHandler webHandler, @Nonnull org.springframework.web.server.ServerWebExchange exchange, long processingTimeMillis, @Nullable Throwable failureCause)
  • Method Details

    • getWebHandler

      @Nonnull public org.springframework.web.server.WebHandler getWebHandler()
      Get the WebHandler
      Returns:
      the WebHandler
    • getExchange

      @Nonnull public org.springframework.web.server.ServerWebExchange getExchange()
      Get the ServerWebExchange
      Returns:
      the ServerWebExchange