Interface VaadinRequestInterceptor

All Superinterfaces:
Serializable

public interface VaadinRequestInterceptor extends Serializable
Used to provide an around-like aspect option around request processing.
Since:
24.2
Author:
Marcin Grzejszczak
  • Method Details

    • requestStart

      void requestStart(VaadinRequest request, VaadinResponse response)
      Called when request is about to be processed.
      Parameters:
      request - request
      response - response
    • handleException

      void handleException(VaadinRequest request, VaadinResponse response, VaadinSession vaadinSession, Exception t)
      Called when an exception occurred
      Parameters:
      request - request
      response - response
      vaadinSession - session
      t - exception
    • requestEnd

      void requestEnd(VaadinRequest request, VaadinResponse response, VaadinSession session)
      Called in the finally block of processing a request. Will be called regardless of whether there was an exception or not.
      Parameters:
      request - request
      response - response
      session - session