com.vaadin.flow.server.
Interface VaadinConfig
All Superinterfaces:
All Known Implementing Classes:
Configuration in which VaadinService
is running. This is a wrapper
for Config objects for instance ServletConfig
and
PortletConfig
.
Since:
-
Method Summary
Modifier and TypeMethodDescriptiongetConfigParameter
(String name) Returns the value for the requested parameter, or
null
if the parameter does not exist.Returns the names of the initialization parameters as an
Enumeration
, or an emptyEnumeration
if there are o initialization parameters.Get the VaadinContext for this configuration.
-
Method Details
-
getVaadinContext
VaadinContext getVaadinContext()Get the VaadinContext for this configuration.
Returns:
VaadinContext object for this VaadinConfiguration
-
getConfigParameterNames
Enumeration<String> getConfigParameterNames()Returns the names of the initialization parameters as an
Enumeration
, or an emptyEnumeration
if there are o initialization parameters.Returns:
initialization parameters as a
Enumeration
-
getConfigParameter
Returns the value for the requested parameter, or
null
if the parameter does not exist.Parameters:
name
- name of the parameter whose value is requestedReturns:
parameter value as
String
ornull
for no parameter
-