Interface WritablePlayerCookieConnection
- All Superinterfaces:
PlayerConnection
- All Known Subinterfaces:
PlayerCommonConnection, PlayerConfigurationConnection, PlayerGameConnection
-
Method Summary
Modifier and TypeMethodDescriptionvoidstoreCookie(NamespacedKey key, byte[] value) Stores a cookie in this player's client.Methods inherited from interface PlayerConnection
disconnect, getAddress, getClientAddress, getHAProxyAddress, getVirtualHost, isConnected, isTransferred
-
Method Details
-
storeCookie
Stores a cookie in this player's client.- Parameters:
key- the key identifying the cookievalue- the data to store in the cookie- Throws:
IllegalStateException- if a cookie cannot be stored at this time
-