We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.server.communication.
Class JSR356WebsocketInitializer.FakeServletConfig
- java.lang.Object
-
- com.vaadin.flow.server.communication.JSR356WebsocketInitializer.FakeServletConfig
-
Enclosing class:
public static class JSR356WebsocketInitializer.FakeServletConfig extends Object
"ServletConfig" which only provides information from a
ServletRegistration
and itsServletContext
.
-
-
Constructor Summary
Constructors Constructor and Description FakeServletConfig(ServletRegistration servletRegistration, ServletContext servletContext)
Creates an instance based on the given servlet registration and servlet context.
-
Method Summary
All Methods Modifier and Type Method and Description String
getInitParameter(String name)
Enumeration<String>
getInitParameterNames()
ServletContext
getServletContext()
String
getServletName()
-
-
-
Constructor Detail
-
FakeServletConfig
public FakeServletConfig(ServletRegistration servletRegistration, ServletContext servletContext)
Creates an instance based on the given servlet registration and servlet context.
Parameters:
servletRegistration
- the registration to read fromservletContext
- the context to read from
-
-
Method Detail
-
getServletName
public String getServletName()
-
getServletContext
public ServletContext getServletContext()
-
getInitParameterNames
public Enumeration<String> getInitParameterNames()
-
-