Package com.vaadin.flow.server
Interface VaadinConfig
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
VaadinServletConfig
Configuration in which
VaadinService is running. This is a wrapper
for Config objects for instance ServletConfig and
PortletConfig.-
Method Summary
Modifier and TypeMethodDescriptiongetConfigParameter(String name) Returns the value for the requested parameter, ornullif the parameter does not exist.Returns the names of the initialization parameters as anEnumeration, or an emptyEnumerationif 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 anEnumeration, or an emptyEnumerationif there are o initialization parameters.- Returns:
- initialization parameters as a
Enumeration
-
getConfigParameter
Returns the value for the requested parameter, ornullif the parameter does not exist.- Parameters:
name- name of the parameter whose value is requested- Returns:
- parameter value as
Stringornullfor no parameter
-