public class HttpServer extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
HTTP_TRANSPORT_ID
protocol identifier for http
|
static String |
HTTPS_TRANSPORT_ID
protocol identifier for https
|
| Constructor and Description |
|---|
HttpServer() |
| Modifier and Type | Method and Description |
|---|---|
TcpTransport |
getHttpsTransport() |
TcpTransport |
getHttpTransport() |
Set<WebApp> |
getWebApps() |
void |
setConfFile(String confFile) |
void |
setHttpsTransport(TcpTransport httpsTransport) |
void |
setHttpTransport(TcpTransport httpTransport) |
void |
setWebApps(Set<WebApp> webapps) |
void |
start(DirectoryService dirService)
starts the jetty http server
|
void |
stop()
stops the jetty http server
|
public static final String HTTP_TRANSPORT_ID
public static final String HTTPS_TRANSPORT_ID
public void start(DirectoryService dirService) throws Exception
Exceptionpublic void setConfFile(String confFile)
public TcpTransport getHttpTransport()
public void setHttpTransport(TcpTransport httpTransport)
public TcpTransport getHttpsTransport()
public void setHttpsTransport(TcpTransport httpsTransport)
Copyright © 2021. All rights reserved.