Interface ServerInformation


public interface ServerInformation
Encapsulates static server information
  • Method Details

    • name

      String name()
      Returns:
      the server name
    • id

      UUID id()
      Returns:
      a unique identifier for this server
    • version

      Version version()
      Returns:
      the server framework Version
    • port

      int port()
      Returns:
      the server port
    • startTime

      ZonedDateTime startTime()
      Returns:
      the time of server startup
    • locale

      Locale locale()
      Returns:
      the server locale
    • timeZone

      ZoneId timeZone()
      Returns:
      the server time zone