Package com.vaadin.flow.internal
Class PushUtil
java.lang.Object
com.vaadin.flow.internal.PushUtil
Utility methods for server push.
For internal use only. May be renamed or removed in a future release.
- Since:
- 25.4
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckTransportEnabled(Transport transport, VaadinContext context) Checks that the given push transport can be used, i.e. that the feature flag guarding an experimental transport is enabled.static voidcheckTransportEnabledAtStartup(Transport transport, VaadinContext context, String annotationOwner) Checks at application startup that the transport of a static@Pushannotation can be used, i.e. that the feature flag for the experimental server-sent events transport is enabled when that transport is selected.
-
Method Details