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
    • clientId

      UUID clientId()
      Returns:
      the client id
    • clientTypeId

      String clientTypeId()
      Returns:
      the client type id
    • clientLocale

      Locale clientLocale()
      Returns:
      the client locale
    • clientTimeZone

      ZoneId clientTimeZone()
      Returns:
      the client time zone
    • clientVersion

      Optional<Version> clientVersion()
      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