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.
Currently,
SerializationDebugRequestHandler
is implemented as aRequestHandler
. Since it runs beforeUIDLRequestHandler
, an and additional servletFilter
is required to execute the serialization test after the UI changes are applied.The code could probably be simplified by refactoring
SerializationDebugRequestHandler
into aVaadinRequestInterceptor
(introduced in Vaadin 24.2) that provides hooks for request start and end, removing the need for the Filter.