|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Objectorg.seasar.framework.mock.servlet.MockHttpSessionImpl
| フィールドの概要 |
| インタフェース org.seasar.framework.mock.servlet.MockHttpSession から継承したフィールド |
METHOD_NAME_IS_VALID, METHOD_NAME_SET_VALID |
| コンストラクタの概要 | |
MockHttpSessionImpl(ServletContext servletContext)
|
|
| メソッドの概要 | |
void |
access()
|
Object |
getAttribute(String name)
|
Enumeration |
getAttributeNames()
|
long |
getCreationTime()
|
String |
getId()
|
long |
getLastAccessedTime()
|
int |
getMaxInactiveInterval()
|
ServletContext |
getServletContext()
|
HttpSessionContext |
getSessionContext()
推奨されていません。 |
Object |
getValue(String name)
推奨されていません。 |
String[] |
getValueNames()
推奨されていません。 |
void |
invalidate()
|
boolean |
isNew()
|
boolean |
isValid()
HttpSession.invalidate()が呼ばれたか確認します。 |
void |
putValue(String name,
Object value)
推奨されていません。 |
void |
removeAttribute(String name)
|
void |
removeValue(String name)
推奨されていません。 |
void |
setAttribute(String name,
Object value)
|
void |
setMaxInactiveInterval(int maxInactiveInterval)
|
void |
setValid(boolean valid)
HttpSession.invalidate()が呼ばれたときに、内部的に、このメソッドを呼びます。 |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
public MockHttpSessionImpl(ServletContext servletContext)
| メソッドの詳細 |
public long getCreationTime()
HttpSession 内の getCreationTimeHttpSession.getCreationTime()public String getId()
HttpSession 内の getIdHttpSession.getId()public long getLastAccessedTime()
HttpSession 内の getLastAccessedTimeHttpSession.getLastAccessedTime()public void access()
MockHttpSession 内の accesspublic ServletContext getServletContext()
HttpSession 内の getServletContextHttpSession.getServletContext()public void setMaxInactiveInterval(int maxInactiveInterval)
HttpSession 内の setMaxInactiveIntervalHttpSession.setMaxInactiveInterval(int)public int getMaxInactiveInterval()
HttpSession 内の getMaxInactiveIntervalHttpSession.getMaxInactiveInterval()public Object getAttribute(String name)
HttpSession 内の getAttributeHttpSession.getAttribute(java.lang.String)
public void setAttribute(String name,
Object value)
HttpSession 内の setAttributeHttpSession.setAttribute(java.lang.String,
java.lang.Object)public void removeAttribute(String name)
HttpSession 内の removeAttributeHttpSession.removeAttribute(java.lang.String)public HttpSessionContext getSessionContext()
HttpSession 内の getSessionContextHttpSession.getSessionContext()public Object getValue(String name)
HttpSession 内の getValueHttpSession.getValue(java.lang.String)public Enumeration getAttributeNames()
HttpSession 内の getAttributeNamesHttpSession.getAttributeNames()public String[] getValueNames()
HttpSession 内の getValueNamesHttpSession.getValueNames()
public void putValue(String name,
Object value)
HttpSession 内の putValueHttpSession.putValue(java.lang.String,
java.lang.Object)public void removeValue(String name)
HttpSession 内の removeValueHttpSession.removeValue(java.lang.String)public void invalidate()
HttpSession 内の invalidateHttpSession.invalidate()public boolean isNew()
HttpSession 内の isNewHttpSession.isNew()public boolean isValid()
MockHttpSession の記述: HttpSession.invalidate()が呼ばれたか確認します。
MockHttpSession 内の isValidpublic void setValid(boolean valid)
MockHttpSession の記述: HttpSession.invalidate()が呼ばれたときに、内部的に、このメソッドを呼びます。
MockHttpSession 内の setValidvalid - HttpSession.invalidate()が呼ばれたときに、true
|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||