Interface ConnectionRequest

All Known Subinterfaces:
RemoteClient

public interface ConnectionRequest
Encapsulates information about a client required by a server for establishing a connection
  • Method Details

    • user

      User user()
      Returns:
      the user
    • id

      UUID id()
      Returns:
      the client id
    • type

      String type()
      Returns:
      the client type
    • locale

      Locale locale()
      Returns:
      the client locale
    • timeZone

      ZoneId timeZone()
      Returns:
      the client time zone
    • version

      Optional<Version> version()
      Returns:
      the client version
    • frameworkVersion

      Version frameworkVersion()
      Returns:
      the version of Codion the client is using
    • parameters

      Map<String,Object> parameters()
      Returns:
      misc. parameters, an empty map if none are specified
    • copy

      Returns:
      a copy of this connection request with a copy of the user instance
    • builder

      static ConnectionRequest.Builder builder()
      Returns:
      a ConnectionRequest.Builder