- All Known Subinterfaces:
RemoteClient
public interface ConnectionRequest
Encapsulates information about a client required by a server for establishing a connection
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
A builder for ConnectionRequest -
Method Summary
Modifier and TypeMethodDescriptionstatic ConnectionRequest.Builder
builder()
clientId()
copy()
user()
-
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
- Returns:
- the client version
-
frameworkVersion
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
-