- 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 interface
A builder for ConnectionRequest -
Method Summary
-
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
- 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
-