com.vaadin.flow.server.
Class VaadinServletConfig
All Implemented Interfaces:
VaadinConfig
implementation for Servlets.
Since:
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, 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.
-
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:
VaadinConfig
Get the VaadinContext for this configuration.
Specified by:
getVaadinContext
in interfaceVaadinConfig
Returns:
VaadinContext object for this VaadinConfiguration
-
getConfigParameterNames
Description copied from interface:
VaadinConfig
Returns the names of the initialization parameters as an
Enumeration
, or an emptyEnumeration
if there are o initialization parameters.Specified by:
getConfigParameterNames
in interfaceVaadinConfig
Returns:
initialization parameters as a
Enumeration
-
getConfigParameter
Description copied from interface:
VaadinConfig
Returns the value for the requested parameter, or
null
if the parameter does not exist.Specified by:
getConfigParameter
in interfaceVaadinConfig
Parameters:
name
- name of the parameter whose value is requestedReturns:
parameter value as
String
ornull
for no parameter
-