org.jboss.sun.net.httpserver
Class DefaultHttpServerProvider
java.lang.Object
org.jboss.com.sun.net.httpserver.spi.HttpServerProvider
org.jboss.sun.net.httpserver.DefaultHttpServerProvider
public class DefaultHttpServerProvider
- extends HttpServerProvider
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultHttpServerProvider
public DefaultHttpServerProvider()
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
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.