Package io.papermc.paper.connection
Interface WritablePlayerCookieConnection
- All Superinterfaces:
PlayerConnection
- All Known Subinterfaces:
PlayerCommonConnection
,PlayerConfigurationConnection
,PlayerGameConnection
-
Method Summary
Modifier and TypeMethodDescriptionvoid
storeCookie
(NamespacedKey key, byte[] value) Stores a cookie in this player's client.Methods inherited from interface io.papermc.paper.connection.PlayerConnection
disconnect, getAddress, getClientAddress, getHAProxyAddress, getVirtualHost, 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
-