public static class NablarchHttpServletRequestWrapper.HttpSessionWrapper
extends java.lang.Object
implements javax.servlet.http.HttpSession
Constructor and Description |
---|
HttpSessionWrapper(javax.servlet.http.HttpSession delegate)
コンストラクター
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.String name) |
java.util.Enumeration<java.lang.String> |
getAttributeNames() |
long |
getCreationTime() |
javax.servlet.http.HttpSession |
getDelegate()
委譲対象のセッションオブジェクトを取得する。
|
java.lang.String |
getId() |
long |
getLastAccessedTime() |
int |
getMaxInactiveInterval() |
java.util.Map<java.lang.String,java.lang.Object> |
getScope()
セッションスコープへの参照を返す。
|
javax.servlet.ServletContext |
getServletContext() |
javax.servlet.http.HttpSessionContext |
getSessionContext() |
java.lang.Object |
getValue(java.lang.String name) |
java.lang.String[] |
getValueNames() |
void |
invalidate() |
boolean |
isNew() |
void |
putValue(java.lang.String name,
java.lang.Object value) |
void |
removeAttribute(java.lang.String name) |
void |
removeValue(java.lang.String name) |
void |
setAttribute(java.lang.String name,
java.lang.Object value) |
void |
setMaxInactiveInterval(int interval) |
NablarchHttpServletRequestWrapper.HttpSessionWrapper |
setScope(java.util.Map<java.lang.String,java.lang.Object> scope)
セッションスコープを設定する。
|
public HttpSessionWrapper(javax.servlet.http.HttpSession delegate)
delegate
- 委譲対象のセッションオブジェクトpublic java.util.Map<java.lang.String,java.lang.Object> getScope()
public NablarchHttpServletRequestWrapper.HttpSessionWrapper setScope(java.util.Map<java.lang.String,java.lang.Object> scope)
scope
- セッションスコープpublic java.lang.Object getAttribute(java.lang.String name)
getAttribute
in interface javax.servlet.http.HttpSession
public java.util.Enumeration<java.lang.String> getAttributeNames()
getAttributeNames
in interface javax.servlet.http.HttpSession
public void setAttribute(java.lang.String name, java.lang.Object value)
setAttribute
in interface javax.servlet.http.HttpSession
public void removeAttribute(java.lang.String name)
removeAttribute
in interface javax.servlet.http.HttpSession
public java.lang.Object getValue(java.lang.String name)
getValue
in interface javax.servlet.http.HttpSession
public java.lang.String[] getValueNames()
getValueNames
in interface javax.servlet.http.HttpSession
public void putValue(java.lang.String name, java.lang.Object value)
putValue
in interface javax.servlet.http.HttpSession
public void removeValue(java.lang.String name)
removeValue
in interface javax.servlet.http.HttpSession
public long getCreationTime()
getCreationTime
in interface javax.servlet.http.HttpSession
@Published(tag="architect") public java.lang.String getId()
getId
in interface javax.servlet.http.HttpSession
public long getLastAccessedTime()
getLastAccessedTime
in interface javax.servlet.http.HttpSession
public int getMaxInactiveInterval()
getMaxInactiveInterval
in interface javax.servlet.http.HttpSession
public javax.servlet.ServletContext getServletContext()
getServletContext
in interface javax.servlet.http.HttpSession
public javax.servlet.http.HttpSessionContext getSessionContext()
getSessionContext
in interface javax.servlet.http.HttpSession
public void invalidate()
invalidate
in interface javax.servlet.http.HttpSession
public boolean isNew()
isNew
in interface javax.servlet.http.HttpSession
public void setMaxInactiveInterval(int interval)
setMaxInactiveInterval
in interface javax.servlet.http.HttpSession
public javax.servlet.http.HttpSession getDelegate()