org.kaoriha.jspbp.test
クラス MockSession

java.lang.Object
  上位を拡張 org.kaoriha.jspbp.test.MockSession
すべての実装されたインタフェース:
javax.servlet.http.HttpSession

public class MockSession
extends Object
implements javax.servlet.http.HttpSession


フィールドの概要
 Map<String,Object> attributeMap
           
 
コンストラクタの概要
MockSession()
           
 
メソッドの概要
 Object getAttribute(String name)
           
 Enumeration getAttributeNames()
           
 long getCreationTime()
           
 String getId()
           
 long getLastAccessedTime()
           
 int getMaxInactiveInterval()
           
 javax.servlet.ServletContext getServletContext()
           
 javax.servlet.http.HttpSessionContext getSessionContext()
           
 Object getValue(String name)
           
 String[] getValueNames()
           
 void invalidate()
           
 boolean isNew()
           
 void putValue(String name, Object value)
           
 void removeAttribute(String name)
           
 void removeValue(String name)
           
 void setAttribute(String name, Object value)
           
 void setMaxInactiveInterval(int interval)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

attributeMap

public Map<String,Object> attributeMap
コンストラクタの詳細

MockSession

public MockSession()
メソッドの詳細

getAttribute

public Object getAttribute(String name)
定義:
インタフェース javax.servlet.http.HttpSession 内の getAttribute

getAttributeNames

public Enumeration getAttributeNames()
定義:
インタフェース javax.servlet.http.HttpSession 内の getAttributeNames

getCreationTime

public long getCreationTime()
定義:
インタフェース javax.servlet.http.HttpSession 内の getCreationTime

getId

public String getId()
定義:
インタフェース javax.servlet.http.HttpSession 内の getId

getLastAccessedTime

public long getLastAccessedTime()
定義:
インタフェース javax.servlet.http.HttpSession 内の getLastAccessedTime

getMaxInactiveInterval

public int getMaxInactiveInterval()
定義:
インタフェース javax.servlet.http.HttpSession 内の getMaxInactiveInterval

getServletContext

public javax.servlet.ServletContext getServletContext()
定義:
インタフェース javax.servlet.http.HttpSession 内の getServletContext

getSessionContext

public javax.servlet.http.HttpSessionContext getSessionContext()
定義:
インタフェース javax.servlet.http.HttpSession 内の getSessionContext

getValue

public Object getValue(String name)
定義:
インタフェース javax.servlet.http.HttpSession 内の getValue

getValueNames

public String[] getValueNames()
定義:
インタフェース javax.servlet.http.HttpSession 内の getValueNames

invalidate

public void invalidate()
定義:
インタフェース javax.servlet.http.HttpSession 内の invalidate

isNew

public boolean isNew()
定義:
インタフェース javax.servlet.http.HttpSession 内の isNew

putValue

public void putValue(String name,
                     Object value)
定義:
インタフェース javax.servlet.http.HttpSession 内の putValue

removeAttribute

public void removeAttribute(String name)
定義:
インタフェース javax.servlet.http.HttpSession 内の removeAttribute

removeValue

public void removeValue(String name)
定義:
インタフェース javax.servlet.http.HttpSession 内の removeValue

setAttribute

public void setAttribute(String name,
                         Object value)
定義:
インタフェース javax.servlet.http.HttpSession 内の setAttribute

setMaxInactiveInterval

public void setMaxInactiveInterval(int interval)
定義:
インタフェース javax.servlet.http.HttpSession 内の setMaxInactiveInterval


Copyright ? 2007-2008 Hound. All Rights Reserved.