org.webbitserver
Class WebServers
java.lang.Object
org.webbitserver.WebServers
public class WebServers
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebServers
public WebServers()
createWebServer
public static WebServer createWebServer(int port)
- Returns a new
WebServer object, which runs on the provided port.
- Parameters:
port -
- Returns:
WebServer object- See Also:
NettyWebServer
createWebServer
public static WebServer createWebServer(Executor executor,
int port)
- Returns a new
WebServer object, which runs on the provided port
and adds the executor to the List of executor services to be called when
the server is running.
- Parameters:
executor - port -
- Returns:
WebServer object- See Also:
NettyWebServer
createWebServer
public static WebServer createWebServer(Executor executor,
SocketAddress socketAddress,
URI publicUri)
- Returns a new
WebServer object, adding the executor to the list
of executor services, running on the stated socket address and accessible
from the provided public URI.
- Parameters:
executor - socketAddress - publicUri -
- Returns:
WebServer object- See Also:
NettyWebServer
Copyright © 2012. All Rights Reserved.