public class HttpServer extends Object
Modifier and Type | Method and Description |
---|---|
String |
addServer(String contextName,
File content) |
List<String> |
getAccessedUrls(String contextName) |
String |
getUrl(String contextName) |
static HttpServer |
startServer() |
static HttpServer |
startServer(String username,
String password) |
void |
stop() |
public static HttpServer startServer() throws Exception
Exception
public static HttpServer startServer(String username, String password) throws Exception
Exception
Copyright © 2008-2012 Eclipse Foundation. All Rights Reserved.