Package com.vaadin.flow.server
Interface VaadinRequestInterceptor
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DAUVaadinRequestInterceptor
Used to provide an around-like aspect option around request processing.
- Since:
- 24.2
- Author:
- Marcin Grzejszczak
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleException(VaadinRequest request, VaadinResponse response, VaadinSession vaadinSession, Exception t) Called when an exception occurredvoidrequestEnd(VaadinRequest request, VaadinResponse response, VaadinSession session) Called in the finally block of processing a request.voidrequestStart(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
-