org.eclipse.jetty.http.spi
Class JettyHttpServerProvider

java.lang.Object
  extended by com.sun.net.httpserver.spi.HttpServerProvider
      extended by 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
JettyHttpServerProvider()
           
 
Method Summary
 com.sun.net.httpserver.HttpServer createHttpServer(InetSocketAddress addr, int backlog)
           
 com.sun.net.httpserver.HttpsServer createHttpsServer(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(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


Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.