Class HTTPWSServer

java.lang.Object
com.gmt2001.httpwsserver.HTTPWSServer

public final class HTTPWSServer extends Object
Provides a HTTP 1.1 server with WebSocket support
Author:
gmt2001
  • Field Details

  • Method Details

    • releaseObj

      public static void releaseObj(ReferenceCounted obj)
      Releases a ReferenceCounted object
      Parameters:
      obj - The object to release
    • instance

      public static HTTPWSServer instance()
      Gets the server instance
      Returns:
      An initialized HTTPWSServer
    • isSsl

      public boolean isSsl()
    • isAutoSsl

      public boolean isAutoSsl()
    • close

      public void close()
      Shuts down the server, with a grace period for ongoing requests to finish