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, removeValue
public HttpSessionAdapter(Session<?> session)
public void setMaxInactiveInterval(int interval)
setMaxInactiveInterval
in interface javax.servlet.http.HttpSession
setMaxInactiveInterval
in class ImmutableHttpSessionAdapter
public void setAttribute(String name, Object value)
setAttribute
in interface javax.servlet.http.HttpSession
setAttribute
in class ImmutableHttpSessionAdapter
public void removeAttribute(String name)
removeAttribute
in interface javax.servlet.http.HttpSession
removeAttribute
in class ImmutableHttpSessionAdapter
public void invalidate()
invalidate
in interface javax.servlet.http.HttpSession
invalidate
in class ImmutableHttpSessionAdapter
Copyright © 2014 JBoss by Red Hat. All rights reserved.