public class HttpSessionAdapter extends ImmutableHttpSessionAdapter
Session to the HttpSession interface invoking the appropriate events
on setAttribute(String, Object) and removeAttribute(String).| Constructor and Description |
|---|
HttpSessionAdapter(Session<?> session) |
| Modifier and Type | Method and Description |
|---|---|
void |
invalidate() |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object value) |
void |
setMaxInactiveInterval(int interval) |
getAttribute, getAttributeNames, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getServletContext, getSessionContext, getValue, getValueNames, isNew, putValue, removeValuepublic HttpSessionAdapter(Session<?> session)
public void setMaxInactiveInterval(int interval)
setMaxInactiveInterval in interface javax.servlet.http.HttpSessionsetMaxInactiveInterval in class ImmutableHttpSessionAdapterpublic void setAttribute(String name, Object value)
setAttribute in interface javax.servlet.http.HttpSessionsetAttribute in class ImmutableHttpSessionAdapterpublic void removeAttribute(String name)
removeAttribute in interface javax.servlet.http.HttpSessionremoveAttribute in class ImmutableHttpSessionAdapterpublic void invalidate()
invalidate in interface javax.servlet.http.HttpSessioninvalidate in class ImmutableHttpSessionAdapterCopyright © 2015 JBoss by Red Hat. All rights reserved.