public class DefaultHttpServerProvider extends HttpServerProvider
| Constructor and Description |
|---|
DefaultHttpServerProvider() |
| Modifier and Type | Method and Description |
|---|---|
HttpServer |
createHttpServer(InetSocketAddress addr,
int backlog,
Map<String,String> configuration)
creates a HttpServer from this provider
|
HttpsServer |
createHttpsServer(InetSocketAddress addr,
int backlog,
Map<String,String> configuration)
creates a HttpsServer from this provider
|
providerpublic HttpServer createHttpServer(InetSocketAddress addr, int backlog, Map<String,String> configuration) throws IOException
HttpServerProvidercreateHttpServer in class HttpServerProvideraddr - the address to bind to. May be nullbacklog - the socket backlog. A value of zero means the systems defaultIOExceptionpublic HttpsServer createHttpsServer(InetSocketAddress addr, int backlog, Map<String,String> configuration) throws IOException
HttpServerProvidercreateHttpsServer in class HttpServerProvideraddr - the address to bind to. May be nullbacklog - the socket backlog. A value of zero means the systems defaultIOExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.