HttpSession is not supported. Please move the functionality to the frontend or other type of storage. This class will be removed in 8.0.@Deprecated public class HttpSessionBackedVelocityRequestSession extends Object implements VelocityRequestSession
HttpSession
All methods are a direct call through to the underlying HttpSession.
This will only create the request if necessary.| Constructor and Description |
|---|
HttpSessionBackedVelocityRequestSession(javax.servlet.http.HttpServletRequest request)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String s)
Deprecated.
Returns the object bound with the specified name in this session, or null if no object is bound under the name.
|
Enumeration<String> |
getAttributeNames()
Deprecated.
Returns an Enumeration of String objects containing the names of all the objects bound to this session.
|
String |
getId()
Deprecated.
Returns a string containing the unique identifier assigned to this session.
|
void |
invalidate()
Deprecated.
Invalidates this session and unbinds any objects bound to it.
|
void |
removeAttribute(String s)
Deprecated.
Removes the object bound with the specified name from this session.
|
void |
setAttribute(String s,
Object o)
Deprecated.
Binds an object to this session, using the name specified.
|
public HttpSessionBackedVelocityRequestSession(javax.servlet.http.HttpServletRequest request)
public String getId()
VelocityRequestSessiongetId in interface VelocityRequestSessionpublic Object getAttribute(String s)
VelocityRequestSessiongetAttribute in interface VelocityRequestSessions - a string specifying the name of the objectpublic Enumeration<String> getAttributeNames()
VelocityRequestSessiongetAttributeNames in interface VelocityRequestSessionpublic void setAttribute(String s, Object o)
VelocityRequestSessionsetAttribute in interface VelocityRequestSessions - the name to which the object is bound; cannot be nullo - the object to be bound; cannot be nullpublic void removeAttribute(String s)
VelocityRequestSessionremoveAttribute in interface VelocityRequestSessions - the name of the object to remove from this sessionpublic void invalidate()
VelocityRequestSessioninvalidate in interface VelocityRequestSessionCopyright © 2002-2019 Atlassian. All Rights Reserved.