Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Fields
  • Methods
  • Constructors
  • Terminally Deprecated Elements
    Element
    Description
    com.vaadin.flow.router.internal.ClientRoutesProvider
    Provider is deprecated, use FrontendUtils.getClientRoutes() instead.
    com.vaadin.flow.router.MenuData(String, Double, boolean, String)
    Use MenuData(String, Double, boolean, String, Class) instead.
    com.vaadin.flow.server.auth.ViewAccessChecker
    for annotation based view security use NavigationAccessControl with AnnotatedViewAccessChecker.
    com.vaadin.flow.server.frontend.FrontendTools.getWebpackNodeEnvironment()
    Webpack is not used anymore, this method is obsolete and have no replacements.
    com.vaadin.flow.server.frontend.Options.isEnableWebpackConfigUpdate()
    use Options.isEnableConfigUpdate()
    com.vaadin.flow.server.frontend.Options.withWebpack(File, File)
    to be removed, use Options.withBuildResultFolders(File, File) instead.
    com.vaadin.flow.server.menu.AvailableViewInfo(String, String[], boolean, String, boolean, boolean, MenuData, List<AvailableViewInfo>, Map<String, RouteParamType>, boolean)
    com.vaadin.flow.server.StreamReceiver
    use UploadHandler instead
    com.vaadin.flow.server.StreamResource
    use DownloadHandler instead
    com.vaadin.flow.server.StreamVariable
    use UploadHandler instead
    com.vaadin.flow.server.VaadinSession.setConfiguration(DeploymentConfiguration)
    with no replacement. There should only be one DeploymentConfiguration per VaadinService, no VaadinSession-specific instances.
  • Deprecated Interfaces
    Interface
    Description
    com.vaadin.flow.component.template.internal.DeprecatedPolymerPublishedEventHandler
    Polymer template support is deprecated - we recommend you to use LitTemplate instead. Read more details from the Vaadin blog.
    com.vaadin.flow.component.template.internal.DeprecatedPolymerTemplate
    Polymer template support is deprecated - we recommend you to use LitTemplate instead. Read more details from the Vaadin blog.
    com.vaadin.flow.router.internal.ClientRoutesProvider
    Provider is deprecated, use FrontendUtils.getClientRoutes() instead.
    com.vaadin.flow.server.StreamVariable
    use UploadHandler instead
  • Deprecated Classes
    Class
    Description
    com.vaadin.flow.internal.BrowserLiveReloadAccess
    Use BrowserLiveReloadAccessor instead
    com.vaadin.flow.internal.nodefeature.PolymerServerEventHandlers
    Polymer template support is deprecated - we recommend you to use LitTemplate instead. Read more details from the Vaadin blog.
    com.vaadin.flow.server.auth.ViewAccessChecker
    for annotation based view security use NavigationAccessControl with AnnotatedViewAccessChecker.
    com.vaadin.flow.server.StreamReceiver
    use UploadHandler instead
    com.vaadin.flow.server.StreamResource
    use DownloadHandler instead
  • Deprecated Fields
    Field
    Description
    com.vaadin.experimental.FeatureFlags.SYSTEM_PROPERTY_PREFIX
    Use FeatureFlags.SYSTEM_PROPERTY_PREFIX_EXPERIMENTAL instead.
    com.vaadin.flow.dom.ElementConstants.ARIA_LABEL_PROPERTY_NAME
    use ElementConstants.ARIA_LABEL_ATTRIBUTE_NAME instead
    com.vaadin.flow.server.frontend.NodeUpdater.DEP_NAME_FLOW_DEPS
    com.vaadin.flow.server.frontend.NodeUpdater.DEP_NAME_FLOW_JARS
    com.vaadin.flow.server.InitParameters.SERVLET_PARAMETER_ENABLE_DEV_SERVER
  • Deprecated Methods
    Method
    Description
    com.vaadin.flow.component.Component.getTranslation(Object, Locale, Object...)
    Use Component.getTranslation(Locale, String, Object...) instead
    com.vaadin.flow.component.Component.getTranslation(String, Locale, Object...)
    Use Component.getTranslation(Locale, String, Object...) instead
    com.vaadin.flow.component.internal.ComponentTracker.Location.findJavaFile(AbstractConfiguration)
    use findSourceFile
    com.vaadin.flow.component.ShortcutRegistration.getOwner()
    This component has now multiple owners so this method has been replaced by #getOwners().
    com.vaadin.flow.component.UI.connectClient(String, String, String, JsonValue, String)
    (forRemoval=true) method is not enabled for client side anymore and connectClient is triggered by DOM event, to be removed in next major 25
    com.vaadin.flow.component.UI.doInit(VaadinRequest, int)
    Use UI.doInit(VaadinRequest, int, String) instead
    com.vaadin.flow.component.UI.getRouter()
    For internal use only. Will be removed in the future.
    com.vaadin.flow.component.UI.leaveNavigation(String, String)
    (forRemoval=true) method is not enabled for client side anymore and leave navigation is triggered by DOM event, to be removed in next major 25
    com.vaadin.flow.component.webcomponent.WebComponent.fireEvent(String, JsonValue)
    com.vaadin.flow.component.webcomponent.WebComponent.fireEvent(String, JsonValue, EventOptions)
    com.vaadin.flow.component.webcomponent.WebComponentConfiguration.createWebComponentBinding(Instantiator, Element, JsonObject)
    com.vaadin.flow.component.WebComponentExporter.addProperty(String, JsonValue)
    com.vaadin.flow.internal.ConstantPoolKey.export(JsonObject)
    com.vaadin.flow.router.LocationUtil.parsePathToSegments(String)
    use LocationUtil.parsePathToSegments(String, boolean)
    com.vaadin.flow.router.Router.navigate(UI, Location, NavigationTrigger, JsonValue)
    com.vaadin.flow.router.Router.navigate(UI, Location, NavigationTrigger, JsonValue, boolean, boolean)
    com.vaadin.flow.server.AbstractConfiguration.frontendHotdeploy()
    Use AbstractConfiguration.getMode() instead
    com.vaadin.flow.server.frontend.CssBundler.inlineImports(File, File)
    this method does not resolve theme assets, use CssBundler.inlineImports(File, File, JsonNode) instead.
    com.vaadin.flow.server.frontend.FrontendTools.getWebpackNodeEnvironment()
    Webpack is not used anymore, this method is obsolete and have no replacements.
    com.vaadin.flow.server.frontend.Options.enableNpmFileCleaning(boolean)
    com.vaadin.flow.server.frontend.Options.isEnableWebpackConfigUpdate()
    use Options.isEnableConfigUpdate()
    com.vaadin.flow.server.frontend.Options.withWebpack(File, File)
    to be removed, use Options.withBuildResultFolders(File, File) instead.
    com.vaadin.flow.server.frontend.scanner.FrontendDependenciesScanner.FrontendDependenciesScannerFactory.createScanner(boolean, ClassFinder, boolean)
    Use FrontendDependenciesScanner.FrontendDependenciesScannerFactory.createScanner(boolean, ClassFinder, boolean, FeatureFlags, boolean) instead.
    com.vaadin.flow.server.frontend.scanner.FrontendDependenciesScanner.FrontendDependenciesScannerFactory.createScanner(boolean, ClassFinder, boolean, FeatureFlags)
    Use FrontendDependenciesScanner.FrontendDependenciesScannerFactory.createScanner(boolean, ClassFinder, boolean, FeatureFlags, boolean) instead.
    com.vaadin.flow.server.frontend.scanner.FrontendDependenciesScanner.FrontendDependenciesScannerFactory.createScanner(Options)
    Use FrontendDependenciesScanner.FrontendDependenciesScannerFactory.createScanner(boolean, ClassFinder, boolean, FeatureFlags, boolean) instead.
    com.vaadin.flow.server.frontend.TypeScriptBootstrapModifier.modify(List<String>, boolean)
    use TypeScriptBootstrapModifier.modify(List, boolean, ThemeDefinition) instead
    com.vaadin.flow.server.frontend.TypeScriptBootstrapModifier.modify(List<String>, boolean, ThemeDefinition)
    com.vaadin.flow.server.VaadinSession.setConfiguration(DeploymentConfiguration)
    with no replacement. There should only be one DeploymentConfiguration per VaadinService, no VaadinSession-specific instances.
    com.vaadin.flow.server.webcomponent.WebComponentBinding.bindProperty(PropertyConfigurationImpl<C, ? extends Serializable>, boolean, JsonValue)
    com.vaadin.flow.server.webcomponent.WebComponentBinding.updateProperty(String, JsonValue)
  • Deprecated Constructors
    Constructor
    Description
    com.vaadin.flow.router.ErrorNavigationEvent(Router, Location, UI, NavigationTrigger, ErrorParameter<?>, JsonValue)
    com.vaadin.flow.router.MenuData(String, Double, boolean, String)
    Use MenuData(String, Double, boolean, String, Class) instead.
    com.vaadin.flow.router.NavigationEvent(Router, Location, UI, NavigationTrigger, JsonValue, boolean)
    com.vaadin.flow.router.NavigationEvent(Router, Location, UI, NavigationTrigger, JsonValue, boolean, boolean, boolean)
    com.vaadin.flow.server.frontend.FrontendTools(String, Supplier<String>, boolean)
    use FrontendTools(FrontendToolsSettings) instead, as it simplifies configuring the frontend tools and gives the default values to configuration parameters.
    com.vaadin.flow.server.frontend.FrontendTools(String, Supplier<String>, String, URI)
    use FrontendTools(FrontendToolsSettings) instead, as it simplifies configuring the frontend tools and gives the default values to configuration parameters.
    com.vaadin.flow.server.frontend.FrontendTools(String, Supplier<String>, String, URI, boolean, boolean)
    use FrontendTools(FrontendToolsSettings) instead, as it simplifies configuring the frontend tools and gives the default values to configuration parameters.
    com.vaadin.flow.server.frontend.FrontendTools(String, Supplier<String>, String, URI, boolean, boolean, boolean)
    use FrontendTools(FrontendToolsSettings) instead, as it simplifies configuring the frontend tools and gives the default values to configuration parameters.
    com.vaadin.flow.server.frontend.scanner.FrontendDependencies(ClassFinder)
    Use FrontendDependencies(ClassFinder, boolean, FeatureFlags, boolean) instead.
    com.vaadin.flow.server.frontend.scanner.FrontendDependencies(ClassFinder, boolean)
    Use FrontendDependencies(ClassFinder, boolean, FeatureFlags, boolean) instead.
    com.vaadin.flow.server.frontend.scanner.FrontendDependencies(ClassFinder, boolean, FeatureFlags)
    Use FrontendDependencies(ClassFinder, boolean, FeatureFlags, boolean) instead.
    com.vaadin.flow.server.menu.AvailableViewInfo(String, String[], boolean, String, boolean, boolean, MenuData, List<AvailableViewInfo>, Map<String, RouteParamType>, boolean)

Copyright © 2000–2025 Vaadin Ltd. All rights reserved.