Class JettyHttpServerProvider


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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.sun.net.httpserver.HttpServer createHttpServer​(java.net.InetSocketAddress addr, int backlog)  
      com.sun.net.httpserver.HttpsServer createHttpsServer​(java.net.InetSocketAddress addr, int backlog)  
      static void setServer​(Server server)  
      • Methods inherited from class com.sun.net.httpserver.spi.HttpServerProvider

        provider
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JettyHttpServerProvider

        public JettyHttpServerProvider()
    • Method Detail

      • setServer

        public static void setServer​(Server server)
      • createHttpServer

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

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