Class HttpServerSettings

  • All Implemented Interfaces:

    
    public final class HttpServerSettings
    
                        

    Holds server settings info.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpServerSettings(InetAddress bindAddress, Integer bindPort, String contextPath, HttpProtocol protocol, SslSettings sslSettings, String banner, Boolean zip)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final URL getBindUrl() Base URL to connect to the server.
      final InetAddress getBindAddress() Address for the server.
      final Integer getBindPort() Port for the server.
      final String getContextPath() Context Path for the server's incoming requests.
      final HttpProtocol getProtocol() Server's protocol.
      final SslSettings getSslSettings() SSL settings info for configuring the server.
      final String getBanner() Server banner message.
      final Boolean getZip() Option to compress server responses.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HttpServerSettings

        HttpServerSettings(InetAddress bindAddress, Integer bindPort, String contextPath, HttpProtocol protocol, SslSettings sslSettings, String banner, Boolean zip)
    • 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.