Package com.vaadin.flow.server
Class VaadinServletConfig
java.lang.Object
com.vaadin.flow.server.VaadinServletConfig
- All Implemented Interfaces:
VaadinConfig,Serializable
VaadinConfig implementation for Servlets.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionVaadinServletConfig(jakarta.servlet.ServletConfig config) Vaadin servlet configuration wrapper constructor. -
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.
-
Constructor Details
-
VaadinServletConfig
public VaadinServletConfig(jakarta.servlet.ServletConfig config) Vaadin servlet configuration wrapper constructor.- Parameters:
config- servlet configuration object, notnull
-
-
Method Details
-
getVaadinContext
Description copied from interface:VaadinConfigGet the VaadinContext for this configuration.- Specified by:
getVaadinContextin interfaceVaadinConfig- Returns:
- VaadinContext object for this VaadinConfiguration
-
getConfigParameterNames
Description copied from interface:VaadinConfigReturns the names of the initialization parameters as anEnumeration, or an emptyEnumerationif there are o initialization parameters.- Specified by:
getConfigParameterNamesin interfaceVaadinConfig- Returns:
- initialization parameters as a
Enumeration
-
getConfigParameter
Description copied from interface:VaadinConfigReturns the value for the requested parameter, ornullif the parameter does not exist.- Specified by:
getConfigParameterin interfaceVaadinConfig- Parameters:
name- name of the parameter whose value is requested- Returns:
- parameter value as
Stringornullfor no parameter
-