Interface GenericRequestEventBase

All Known Implementing Classes:
PostRequestEvent, PreRequestEvent, RouteRequestEvent, ShareFileLoadedEvent, ShareRequestEvent

public interface GenericRequestEventBase
Represents the base for all request events.
Since:
3.4.0-SNAPSHOT
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Exchange
    Gets the Exchange which stores the involved request, response and some other data.
    default @NotNull Request
    Gets the Request which is involved in this event.
    default @NotNull Response
    Gets the Response which is involved in this event.
  • Method Details

    • getExchange

      @NotNull @NotNull Exchange getExchange()
      Gets the Exchange which stores the involved request, response and some other data.
      Returns:
      The Exchange.
    • getRequest

      @NotNull default @NotNull Request getRequest()
      Gets the Request which is involved in this event.
      Returns:
      The Request
      Since:
      3.4.0-SNAPSHOT
    • getResponse

      @NotNull default @NotNull Response getResponse()
      Gets the Response which is involved in this event.
      Returns:
      The Response
      Since:
      3.4.0-SNAPSHOT