We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.server.
Package com.vaadin.flow.server
Interface VaadinRequestInterceptor
All Superinterfaces:
All Known Implementing Classes:
Used to provide an around-like aspect option around request processing.
Since:
24.2
Author:
Marcin Grzejszczak
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleException
(VaadinRequest request, VaadinResponse response, VaadinSession vaadinSession, Exception t) Called when an exception occurred
void
requestEnd
(VaadinRequest request, VaadinResponse response, VaadinSession session) Called in the finally block of processing a request.
void
requestStart
(VaadinRequest request, VaadinResponse response) Called when request is about to be processed.
-
Method Details
-
requestStart
Called when request is about to be processed.
Parameters:
request
- requestresponse
- response -
handleException
void handleException(VaadinRequest request, VaadinResponse response, VaadinSession vaadinSession, Exception t) Called when an exception occurred
Parameters:
request
- requestresponse
- responsevaadinSession
- sessiont
- exception -
requestEnd
Called in the finally block of processing a request. Will be called regardless of whether there was an exception or not.
Parameters:
request
- requestresponse
- responsesession
- session
-