vaadin / kubernetes-kit

Other
2 stars 2 forks source link

Consider refactoring SerializationDebugRequestHandler as a VaadinRequestInterceptor #134

Open mcollovati opened 4 months ago

mcollovati commented 4 months ago

Currently, SerializationDebugRequestHandler is implemented as a RequestHandler. Since it runs before UIDLRequestHandler, an and additional servlet Filter is required to execute the serialization test after the UI changes are applied.

The code could probably be simplified by refactoring SerializationDebugRequestHandler into a VaadinRequestInterceptor (introduced in Vaadin 24.2) that provides hooks for request start and end, removing the need for the Filter.