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