Package com.hexagonkt.http.server
Class HttpServerSettings
-
- All Implemented Interfaces:
public final class HttpServerSettingsHolds server settings info.
-
-
Field Summary
Fields Modifier and Type Field Description private final URLbindUrlprivate final InetAddressbindAddressprivate final IntegerbindPortprivate final StringcontextPathprivate final HttpProtocolprotocolprivate final SslSettingssslSettingsprivate final Stringbannerprivate final Booleanzip
-
Constructor Summary
Constructors Constructor Description HttpServerSettings(InetAddress bindAddress, Integer bindPort, String contextPath, HttpProtocol protocol, SslSettings sslSettings, String banner, Boolean zip)
-
Method Summary
Modifier and Type Method Description final URLgetBindUrl()Base URL to connect to the server. 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. -
-
Method Detail
-
getBindUrl
final URL getBindUrl()
Base URL to connect to the server. It lacks the port (as it can be dynamic).
-
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.
-
-
-
-