Class SessionContext

java.lang.Object
org.eclipse.jetty.server.session.SessionContext

@Deprecated(since="2021-05-27") public class SessionContext extends Object
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
SessionContext Information about the context to which sessions belong: the Context, the SessionHandler of the context, and the unique name of the node. A SessionHandler is 1:1 with a SessionContext.
  • Field Details

  • Constructor Details

  • Method Details

    • getWorkerName

      public String getWorkerName()
      Deprecated.
    • getSessionHandler

      public SessionHandler getSessionHandler()
      Deprecated.
    • getContext

      public ContextHandler.Context getContext()
      Deprecated.
    • getCanonicalContextPath

      public String getCanonicalContextPath()
      Deprecated.
    • getVhost

      public String getVhost()
      Deprecated.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • run

      public void run(Runnable r)
      Deprecated.
      Run a runnable in the context (with context classloader set) if there is one, otherwise just run it.
      Parameters:
      r - the runnable