-
- All Implemented Interfaces:
public final class HttpServerSettingsHolds server settings info.
-
-
Field Summary
Fields Modifier and Type Field Description private final InetAddressbindAddressprivate final IntegerbindPortprivate final StringcontextPathprivate final HttpProtocolprotocolprivate final SslSettingssslSettingsprivate final Stringbannerprivate final Booleanzipprivate final BooleanvmInformation
-
Constructor Summary
Constructors Constructor Description HttpServerSettings(InetAddress bindAddress, Integer bindPort, String contextPath, HttpProtocol protocol, SslSettings sslSettings, String banner, Boolean zip, Boolean vmInformation)
-
Method Summary
Modifier and Type Method Description final InetAddressgetBindAddress()Address for the server. final IntegergetBindPort()Port for the server. final StringgetContextPath()Context Path for the server's incoming requests. final HttpProtocolgetProtocol()Server's protocol. final SslSettingsgetSslSettings()SSL settings info for configuring the server. final StringgetBanner()Server banner message. final BooleangetZip()Option to compress server responses. final BooleangetVmInformation()If true, show JVM information on start banner. -
-
Method Detail
-
getBindAddress
final InetAddress getBindAddress()
Address for the server.
-
getBindPort
final Integer getBindPort()
Port for the server.
-
getContextPath
final String getContextPath()
Context Path for the server's incoming requests.
-
getProtocol
final HttpProtocol getProtocol()
Server's protocol.
-
getSslSettings
final SslSettings getSslSettings()
SSL settings info for configuring the server.
-
getBanner
final String getBanner()
Server banner message.
-
getZip
final Boolean getZip()
Option to compress server responses.
-
getVmInformation
final Boolean getVmInformation()
If true, show JVM information on start banner. If enabled, it forces the
java.managementmodule to be included.
-
-
-
-