-
- 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 Set<HttpServerFeature>features
-
Constructor Summary
Constructors Constructor Description HttpServerSettings(InetAddress bindAddress, Integer bindPort, String contextPath, HttpProtocol protocol, SslSettings sslSettings, String banner, Set<HttpServerFeature> features)
-
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 Set<HttpServerFeature>getFeatures()List of features enabled for a server. -
-
Constructor Detail
-
HttpServerSettings
HttpServerSettings(InetAddress bindAddress, Integer bindPort, String contextPath, HttpProtocol protocol, SslSettings sslSettings, String banner, Set<HttpServerFeature> features)
-
-
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.
-
getFeatures
final Set<HttpServerFeature> getFeatures()
List of features enabled for a server.
-
-
-
-