public class WebConsole extends Object implements com.sun.net.httpserver.HttpHandler
| Constructor and Description |
|---|
WebConsole() |
| Modifier and Type | Method and Description |
|---|---|
WebConsole |
basicAuth(String username,
String password) |
static WebConsole |
create() |
void |
handle(com.sun.net.httpserver.HttpExchange http) |
WebConsole |
port(Integer port) |
WebConsole |
start() |
public WebConsole basicAuth(String username, String password)
public static WebConsole create()
public WebConsole start() throws IOException
IOExceptionpublic WebConsole port(Integer port)
public void handle(com.sun.net.httpserver.HttpExchange http)
throws IOException
handle in interface com.sun.net.httpserver.HttpHandlerIOExceptionCopyright © 2011-2013 SYSE. All Rights Reserved.