Package org.eclipse.jetty.server.session
Class SessionContext
- java.lang.Object
-
- org.eclipse.jetty.server.session.SessionContext
-
@Deprecated(since="2021-05-27") public class SessionContext extends java.lang.ObjectDeprecated.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 Summary
Fields Modifier and Type Field Description static java.lang.StringNULL_VHOSTDeprecated.
-
Constructor Summary
Constructors Constructor Description SessionContext(java.lang.String workerName, ContextHandler.Context context)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetCanonicalContextPath()Deprecated.ContextHandler.ContextgetContext()Deprecated.SessionHandlergetSessionHandler()Deprecated.java.lang.StringgetVhost()Deprecated.java.lang.StringgetWorkerName()Deprecated.voidrun(java.lang.Runnable r)Deprecated.Run a runnable in the context (with context classloader set) if there is one, otherwise just run it.java.lang.StringtoString()Deprecated.
-
-
-
Field Detail
-
NULL_VHOST
public static final java.lang.String NULL_VHOST
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SessionContext
public SessionContext(java.lang.String workerName, ContextHandler.Context context)Deprecated.
-
-
Method Detail
-
getWorkerName
public java.lang.String getWorkerName()
Deprecated.
-
getSessionHandler
public SessionHandler getSessionHandler()
Deprecated.
-
getContext
public ContextHandler.Context getContext()
Deprecated.
-
getCanonicalContextPath
public java.lang.String getCanonicalContextPath()
Deprecated.
-
getVhost
public java.lang.String getVhost()
Deprecated.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
run
public void run(java.lang.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
-
-