Deprecated API
Contents
-
Deprecated Interfaces Interface and Description com.vaadin.flow.server.FallibleCommand this command is an internal command and is not supposed to be used in application code
com.vaadin.flow.component.page.Page.ExecutionCanceler superseded by
PendingJavaScriptResult
com.vaadin.flow.server.PageConfigurator Deprecated due to multiple issues on feature design, like this won't work together with the
PreserveOnRefresh
annotation. Will not be removed until after the next long term support version (targeted Vaadin 23).For Vaadin 14, use
BootstrapListener
instead, which provides API for modifying the bootstrap page and access to theUI
, which provides further replacement API likeUI.getLoadingIndicatorConfiguration()
.For Vaadin 15+, use
AppShellConfigurator
instead.
-
Deprecated Classes Class and Description com.vaadin.flow.component.internal.HtmlDependencyParser Due for removal because of additional cache layer
com.vaadin.flow.server.InitialPageSettings Use
BootstrapPageResponse
instance passed viaBootstrapListener
instead, or acquire theUI
viaBootstrapListener
for certain modifications and configuration. For more details, seePageConfigurator
deprecation message. To be removed after the next long term support release (targeted Vaadin 23).com.vaadin.flow.router.internal.RouterUtil This is an internal class for Flow and should not be used outside. This is deprecated since 1.3 and will be removed in later versions of Flow.
com.vaadin.flow.server.ServletHelper Use
HandlerHelper
instead
-
Deprecated Enums Enum and Description com.vaadin.flow.component.orderedlayout.FlexLayout.WrapMode Use
FlexLayout.FlexWrap
instead Possible values for theflex-wrap
CSS property, which determines how the elements inside the layout should behave when they don't fit inside the layout.
-
Deprecated Annotation Types Annotation Type and Description com.vaadin.flow.component.dependency.HtmlImport Bower WebJars will be deprecated soon, so this functionality will also be deprecated and eventually removed from Vaadin. Developers should discontinue using compatibility mode and HtmlImports/WebJars in favor of JsModules. More info about deprecation here.
com.vaadin.flow.server.VaadinServletConfiguration Leftover from Vaadin Framework 8 where the developer typically defines their own servlet class. Starting from Flow 1.0, a servlet is automatically registered and this annotation serves very little purpose.
-
Deprecated Enum Constants Enum Constant and Description com.vaadin.flow.component.KeyLocation.RIGTH
-
Deprecated Annotation Type Elements Annotation Type Element and Description com.vaadin.flow.component.dependency.JsModule.loadMode LoadMode
does not function with JavaScript modules. If the module is local, it is included into the frontend resource bundle. If the module is external, it is loaded as deferred due totype=module
inscrip
tag.