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
|
provider
public HttpServer createHttpServer(InetSocketAddress addr, int backlog, Map<String,String> configuration) throws IOException
HttpServerProvider
createHttpServer
in class HttpServerProvider
addr
- the address to bind to. May be null
backlog
- the socket backlog. A value of zero
means the systems defaultIOException
public HttpsServer createHttpsServer(InetSocketAddress addr, int backlog, Map<String,String> configuration) throws IOException
HttpServerProvider
createHttpsServer
in class HttpServerProvider
addr
- the address to bind to. May be null
backlog
- the socket backlog. A value of zero
means the systems defaultIOException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.