com.vaadin.flow.server.
Class VaadinServletConfig
- java.lang.Object
-
- com.vaadin.flow.server.VaadinServletConfig
-
All Implemented Interfaces:
public class VaadinServletConfig extends Object implements VaadinConfig
VaadinConfig
implementation for Servlets.Since:
See Also:
-
-
Constructor Summary
Constructors Constructor Description VaadinServletConfig(javax.servlet.ServletConfig config)
Vaadin servlet configuration wrapper constructor.
-
Method Summary
All Methods Modifier and Type Method Description String
getConfigParameter(String name)
Returns the value for the requested parameter, or
null
if the parameter does not exist.Enumeration<String>
getConfigParameterNames()
Returns the names of the initialization parameters as an
Enumeration
, or an emptyEnumeration
if there are o initialization parameters.VaadinContext
getVaadinContext()
Get the VaadinContext for this configuration.
-
-
-
Method Detail
-
getVaadinContext
public VaadinContext getVaadinContext()
Description copied from interface:
VaadinConfig
Get the VaadinContext for this configuration.
Specified by:
getVaadinContext
in interfaceVaadinConfig
Returns:
VaadinContext object for this VaadinConfiguration
-
getConfigParameterNames
public Enumeration<String> 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
public String getConfigParameter(String name)
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
-
-