Lightweight HTTP Server 1.0.0.Beta1

org.jboss.sun.net.httpserver
Class DefaultHttpServerProvider

java.lang.Object
  extended by org.jboss.com.sun.net.httpserver.spi.HttpServerProvider
      extended by org.jboss.sun.net.httpserver.DefaultHttpServerProvider

public class DefaultHttpServerProvider
extends HttpServerProvider


Constructor Summary
DefaultHttpServerProvider()
           
 
Method Summary
 HttpServer createHttpServer(InetSocketAddress addr, int backlog)
          creates a HttpServer from this provider
 HttpsServer createHttpsServer(InetSocketAddress addr, int backlog)
          creates a HttpsServer from this provider
 
Methods inherited from class org.jboss.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

DefaultHttpServerProvider

public DefaultHttpServerProvider()
Method Detail

createHttpServer

public HttpServer createHttpServer(InetSocketAddress addr,
                                   int backlog)
                            throws IOException
Description copied from class: HttpServerProvider
creates a HttpServer from this provider

Specified by:
createHttpServer in class HttpServerProvider
Parameters:
addr - the address to bind to. May be null
backlog - the socket backlog. A value of zero means the systems default
Throws:
IOException

createHttpsServer

public HttpsServer createHttpsServer(InetSocketAddress addr,
                                     int backlog)
                              throws IOException
Description copied from class: HttpServerProvider
creates a HttpsServer from this provider

Specified by:
createHttpsServer in class HttpServerProvider
Parameters:
addr - the address to bind to. May be null
backlog - the socket backlog. A value of zero means the systems default
Throws:
IOException

Lightweight HTTP Server 1.0.0.Beta1

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.