com.vaadin.flow.server.communication.
Class JSR356WebsocketInitializer.FakeServletConfig
java.lang.Object
com.vaadin.flow.server.communication.JSR356WebsocketInitializer.FakeServletConfig
All Implemented Interfaces:
jakarta.servlet.ServletConfig
Enclosing class:
public static class JSR356WebsocketInitializer.FakeServletConfig
extends Object
implements jakarta.servlet.ServletConfig
"ServletConfig" which only provides information from a
ServletRegistration
and its ServletContext
.
-
Constructor Summary
ConstructorsConstructorDescriptionFakeServletConfig
(jakarta.servlet.ServletRegistration servletRegistration, jakarta.servlet.ServletContext servletContext) Creates an instance based on the given servlet registration and servlet context.
-
Method Summary
-
Constructor Details
-
FakeServletConfig
public FakeServletConfig(jakarta.servlet.ServletRegistration servletRegistration, jakarta.servlet.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 Details
-
getServletName
Specified by:
getServletName
in interfacejakarta.servlet.ServletConfig
-
getServletContext
public jakarta.servlet.ServletContext getServletContext()Specified by:
getServletContext
in interfacejakarta.servlet.ServletConfig
-
getInitParameter
Specified by:
getInitParameter
in interfacejakarta.servlet.ServletConfig
-
getInitParameterNames
Specified by:
getInitParameterNames
in interfacejakarta.servlet.ServletConfig
-