com.vaadin.flow.server.communication.

Class JSR356WebsocketInitializer.FakeServletConfig

  • java.lang.Object
    • com.vaadin.flow.server.communication.JSR356WebsocketInitializer.FakeServletConfig
  • Enclosing class:

    JSR356WebsocketInitializer


    public static class JSR356WebsocketInitializer.FakeServletConfig
    extends Object

    "ServletConfig" which only provides information from a ServletRegistration and its ServletContext.

    • 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 from

        servletContext - the context to read from

    • Method Detail

      • getServletName

        public String getServletName()
      • getServletContext

        public ServletContext getServletContext()
      • getInitParameter

        public String getInitParameter(String name)