- All Known Subinterfaces:
RemoteClient
public interface ConnectionRequest
Encapsulates information about a client required by a server for establishing a connection
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA builder for ConnectionRequest -
Method Summary
-
Method Details
-
user
is.codion.common.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<is.codion.common.version.Version> clientVersion()- Returns:
- the client version
-
frameworkVersion
is.codion.common.version.Version frameworkVersion()- Returns:
- the version of Codion the client is using
-
parameters
- Returns:
- misc. parameters, an empty map if none are specified
-
copy
ConnectionRequest copy()- Returns:
- a copy of this connection request with a copy of the user instance
-
builder
- Returns:
- a ConnectionRequest.Builder
-