[Vaadin 14.2] - Clean way to test the navigation view class ?

Hello all,

I’m looking for a way to test that the Class of a navigation route.

I have some view that implement and “Printable” interface, and i have then the need to know on navigation event if my current view implements/extend some classes.

Comming from Vaadin 8, was easy, but now in Vaadin 14 i’m stucking with the Router and the way to achieve that.

BONUS : Also looking for the clean way to reload the current view from Java code …

Thanks for your help.