Class HttpServiceWebSocketServletHandler

All Implemented Interfaces:
Comparable<ServletHandler>

public final class HttpServiceWebSocketServletHandler extends HttpServiceServletHandler
Servlet handler for servlets extending JettyWebSocketServlet registered through the http service.
  • Constructor Details

    • HttpServiceWebSocketServletHandler

      public HttpServiceWebSocketServletHandler(ExtServletContext context, ServletInfo servletInfo, javax.servlet.Servlet servlet)
  • Method Details

    • init

      public int init()
      Description copied from class: ServletHandler
      Initialize the object
      Overrides:
      init in class ServletHandler
      Returns:
      {code -1} on success, a failure reason according to DTOConstants otherwise.
    • handle

      public void handle(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse res) throws jakarta.servlet.ServletException, IOException
      Overrides:
      handle in class ServletHandler
      Throws:
      jakarta.servlet.ServletException
      IOException
    • destroy

      public boolean destroy()
      Overrides:
      destroy in class ServletHandler