Documentation versions (currently viewingVaadin 23)

You are viewing documentation for Vaadin 23. View latest documentation

Push and MPR

To enable server push for any navigation target in MPR, add the @Push Flow annotation on the Flow application shell class. The application shell class is a plain Java class implementing the AppShellConfigurator interface.

The @Push annotation has similar parameters (except for the deprecated ones) as the ones used in the Vaadin 7 and 8.

See Server Push for instructions how to configure push in Flow and the @Push annotation JavaDoc for descriptions on each parameter.

When enabled, push uses the Flow implementation. Vaadin 7 or 8 push implementation isn’t used. That said, all legacy methods such as UI::access() and UI::push() work as before.