Package 

Class JavalinJettyServlet

  • All Implemented Interfaces:
    jakarta.servlet.Servlet , jakarta.servlet.ServletConfig , java.io.Serializable

    
    public final class JavalinJettyServlet
    extends JettyWebSocketServlet
                        

    The JavalinJettyServlet is responsible for both WebSocket and HTTP requests. It extends Jetty's JettyWebSocketServlet, and has a JavalinServlet as a constructor arg. It switches between WebSocket and HTTP in the service method.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final JavalinConfig cfg
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final JavalinConfig getCfg()
      • Methods inherited from class jakarta.servlet.http.HttpServlet

        service
      • Methods inherited from class org.eclipse.jetty.websocket.server.JettyWebSocketServlet

        init
      • Methods inherited from class jakarta.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait