@ConfigurationProperties(prefix="vaadin") public class VaadinConfigurationProperties extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
VaadinConfigurationProperties.Pnpm |
| Constructor and Description |
|---|
VaadinConfigurationProperties() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getBlacklistedPackages()
Get a list of packages that are blacklisted for class scanning.
|
String |
getUrlMapping()
Gets the url mapping for the Vaadin servlet.
|
List<String> |
getWhitelistedPackages()
Get a list of packages that are white-listed for class scanning.
|
boolean |
isAsyncSupported()
Returns if asynchronous operations are supported.
|
boolean |
isLaunchBrowser()
Returns if a browser should be launched on startup when in development
mode.
|
boolean |
isLoadOnStartup()
Returns if servlet is loaded on startup.
|
boolean |
isPnpmEnabled()
Returns if pnpm support is enabled.
|
void |
setAsyncSupported(boolean asyncSupported)
Sets
asyncSupported property value. |
void |
setBlacklistedPackages(List<String> blacklistedPackages)
Set list of packages to ignore for class scanning.
|
void |
setLaunchBrowser(boolean launchBrowser)
Sets whether a browser should be launched on startup when in development
mode.
|
void |
setLoadOnStartup(boolean loadOnStartup)
Sets whether servlet is loaded on startup.
|
void |
setPnpmEnabled(boolean enabled)
Enables/disabled pnpm support.
|
void |
setUrlMapping(String urlMapping)
Sets
urlMapping property value. |
void |
setWhitelistedPackages(List<String> whitelistedPackages)
Set list of packages to be scanned.
|
public String getUrlMapping()
public void setUrlMapping(String urlMapping)
urlMapping property value.urlMapping - the urlMapping property valuepublic boolean isAsyncSupported()
public void setAsyncSupported(boolean asyncSupported)
asyncSupported property value.asyncSupported - the asyncSupported property valuepublic boolean isLoadOnStartup()
If the servlet is not loaded on startup then the first request to the
server might be incorrectly handled by
VaadinWebSecurityConfigurerAdapter
and access to a public view will be denied instead of allowed.
public void setLoadOnStartup(boolean loadOnStartup)
If the servlet is not loaded on startup then the first request to the
server might be incorrectly handled by
VaadinWebSecurityConfigurerAdapter
and access to a public view will be denied instead of allowed.
loadOnStartup - true to load the servlet on startup, false
otherwisepublic boolean isLaunchBrowser()
public void setLaunchBrowser(boolean launchBrowser)
launchBrowser - true to launch a browser on startup when in
development mode, false otherwisepublic boolean isPnpmEnabled()
public void setPnpmEnabled(boolean enabled)
enabled - if true then pnpm support is enabled, otherwise it's
disabledpublic List<String> getBlacklistedPackages()
public void setBlacklistedPackages(List<String> blacklistedPackages)
blacklistedPackages - list of packages to ignorepublic List<String> getWhitelistedPackages()
Copyright © 2021 Vaadin Ltd. All Rights Reserved.