Interface WritablePlayerCookieConnection

All Superinterfaces:
PlayerConnection
All Known Subinterfaces:
PlayerCommonConnection, PlayerConfigurationConnection, PlayerGameConnection

public interface WritablePlayerCookieConnection extends PlayerConnection
  • Method Details

    • storeCookie

      void storeCookie(NamespacedKey key, byte[] value)
      Stores a cookie in this player's client.
      Parameters:
      key - the key identifying the cookie
      value - the data to store in the cookie
      Throws:
      IllegalStateException - if a cookie cannot be stored at this time