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.server.auth.ViewAccessChecker
    for annotation based view security use NavigationAccessControl with AnnotatedViewAccessChecker.
    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.
  • 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.
  • 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.
  • Deprecated Fields
    Field
    Description
    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.router.LocationUtil.parsePathToSegments(String)
    use LocationUtil.parsePathToSegments(String, 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, JsonObject) instead.
    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.TypeScriptBootstrapModifier.modify(List<String>, boolean)
    use TypeScriptBootstrapModifier.modify(List, boolean, ThemeDefinition) instead
    com.vaadin.flow.server.frontend.TypeScriptBootstrapModifier.modify(List<String>, boolean, ThemeDefinition)
  • Deprecated Constructors
    Constructor
    Description
    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.

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