Package org.eclipse.jetty.http.spi
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
-
-
Constructor Summary
Constructors Constructor Description JettyHttpServerProvider()
-
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)
-
-
-
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 classcom.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 classcom.sun.net.httpserver.spi.HttpServerProvider
- Throws:
java.io.IOException
-
-