java.lang.Object
dev.onvoid.webrtc.examples.web.server.WebServer

public class WebServer extends Object
A web server implementation using Jetty that provides both HTTPS and WebSocket functionality.

This server:

  • Runs on port 8443 with HTTPS only (TLS 1.2/1.3)
  • Provides WebSocket endpoints with the "ws-signaling" protocol
  • Serves static resources from the classpath at "/resources/web/"
  • Uses a self-signed certificate from a bundled keystore

Author:
Alex Andres
  • Field Details

    • LOG

      public static final org.slf4j.Logger LOG
  • Constructor Details

    • WebServer

      public WebServer()
  • Method Details