Class WebEditorSessionMap

java.lang.Object
me.lucko.luckperms.common.webeditor.store.WebEditorSessionMap

public final class WebEditorSessionMap extends Object
  • Constructor Details

    • WebEditorSessionMap

      public WebEditorSessionMap()
  • Method Details

    • addNewSession

      public void addNewSession(String id, WebEditorRequest request)
      Adds a newly created session to the store.
      Parameters:
      id - the id of the session
    • getSession

      public @Nullable RemoteSession getSession(String id)
      Gets the session for the given session id.
      Parameters:
      id - the id of the session
      Returns:
      the session