public class HttpServerModule extends Object implements com.google.inject.Module
Features:
HttpServerConfig
To enable JMX, an MBeanServer must be bound elsewhere
To enable Basic Auth, a LoginService must be bound elsewhere
To enable HTTPS, HttpServerConfig.isHttpsEnabled() must return true
and HttpServerConfig.getKeystorePath()
and HttpServerConfig.getKeystorePassword() must return the path to
the keystore containing the SSL cert and the password to the keystore, respectively.
The HTTPS port is specified via HttpServerConfig.getHttpsPort().
| Modifier and Type | Field and Description |
|---|---|
static String |
REALM_NAME |
| Constructor and Description |
|---|
HttpServerModule() |
public static final String REALM_NAME
Copyright © 2010–2024 Airlift. All rights reserved.