Class JettyHttpServerProvider

java.lang.Object
com.sun.net.httpserver.spi.HttpServerProvider
org.eclipse.jetty.http.spi.JettyHttpServerProvider

public class JettyHttpServerProvider extends com.sun.net.httpserver.spi.HttpServerProvider
Jetty implementation of Java HTTP Server SPI
  • Field Details

    • _server

      private static Server _server
  • Constructor Details

    • JettyHttpServerProvider

      public JettyHttpServerProvider()
  • Method Details

    • setServer

      public static void setServer(Server server)
    • createHttpServer

      public com.sun.net.httpserver.HttpServer createHttpServer(InetSocketAddress addr, int backlog) throws IOException
      Specified by:
      createHttpServer in class com.sun.net.httpserver.spi.HttpServerProvider
      Throws:
      IOException
    • createHttpsServer

      public com.sun.net.httpserver.HttpsServer createHttpsServer(InetSocketAddress addr, int backlog) throws IOException
      Specified by:
      createHttpsServer in class com.sun.net.httpserver.spi.HttpServerProvider
      Throws:
      IOException