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 interface VelocityRequestSession
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String name)
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 name)
Deprecated.
Removes the object bound with the specified name from this session.
|
void |
setAttribute(String name,
Object value)
Deprecated.
Binds an object to this session, using the name specified.
|
String getId()
Object getAttribute(String name)
name
- a string specifying the name of the objectEnumeration<String> getAttributeNames()
void setAttribute(String name, Object value)
name
- the name to which the object is bound; cannot be nullvalue
- the object to be bound; cannot be nullvoid removeAttribute(String name)
name
- the name of the object to remove from this sessionvoid invalidate()
Copyright © 2002-2018 Atlassian. All Rights Reserved.