Package org.apache.catalina.util
Class SessionConfig
java.lang.Object
org.apache.catalina.util.SessionConfig
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getSessionCookieName
(Context context) Determine the name to use for the session cookie for the provided context.static String
getSessionCookiePath
(Context context) Determine the value to use for the session cookie path for the provided context.static String
getSessionUriParamName
(Context context) Determine the name to use for the session path parameter for the provided context.
-
Method Details
-
getSessionCookieName
Determine the name to use for the session cookie for the provided context.- Parameters:
context
- The context- Returns:
- the cookie name for the context
-
getSessionUriParamName
Determine the name to use for the session path parameter for the provided context.- Parameters:
context
- The context- Returns:
- the parameter name for the session
-
getSessionCookiePath
Determine the value to use for the session cookie path for the provided context.- Parameters:
context
- The context- Returns:
- the parameter name for the session
-