|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.portletcontainer.plugins.pc.replication.FakeHttpSession
public class FakeHttpSession
Fake http session.
| Constructor Summary | |
|---|---|
FakeHttpSession(String sid)
|
|
FakeHttpSession(String sid,
javax.servlet.ServletContext context)
|
|
| Method Summary | |
|---|---|
Object |
getAttribute(String name)
Overridden method. |
Enumeration |
getAttributeNames()
Overridden method. |
long |
getCreationTime()
Overridden method. |
String |
getId()
Overridden method. |
long |
getLastAccessedTime()
Overridden method. |
int |
getMaxInactiveInterval()
Overridden method. |
javax.servlet.ServletContext |
getServletContext()
Overridden method. |
javax.servlet.http.HttpSessionContext |
getSessionContext()
Overridden method. |
Object |
getValue(String name)
Overridden method. |
String[] |
getValueNames()
Overridden method. |
void |
invalidate()
Overridden method. |
boolean |
isNew()
Overridden method. |
void |
putValue(String name,
Object value)
Overridden method. |
void |
removeAttribute(String name)
Overridden method. |
void |
removeValue(String name)
Overridden method. |
void |
setAttribute(String name,
Object value)
Overridden method. |
void |
setMaxInactiveInterval(int max)
Overridden method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FakeHttpSession(String sid)
sid - session id
public FakeHttpSession(String sid,
javax.servlet.ServletContext context)
sid - session idcontext - context| Method Detail |
|---|
public final Object getAttribute(String name)
getAttribute in interface javax.servlet.http.HttpSessionname - name
HttpSession.getAttribute(java.lang.String)public final Enumeration getAttributeNames()
getAttributeNames in interface javax.servlet.http.HttpSessionHttpSession.getAttributeNames()public final long getCreationTime()
getCreationTime in interface javax.servlet.http.HttpSessionHttpSession.getCreationTime()public final String getId()
getId in interface javax.servlet.http.HttpSessionHttpSession.getId()public final long getLastAccessedTime()
getLastAccessedTime in interface javax.servlet.http.HttpSessionHttpSession.getLastAccessedTime()public final int getMaxInactiveInterval()
getMaxInactiveInterval in interface javax.servlet.http.HttpSessionHttpSession.getMaxInactiveInterval()public final javax.servlet.ServletContext getServletContext()
getServletContext in interface javax.servlet.http.HttpSessionHttpSession.getServletContext()public final javax.servlet.http.HttpSessionContext getSessionContext()
getSessionContext in interface javax.servlet.http.HttpSessionHttpSession.getSessionContext()public final Object getValue(String name)
getValue in interface javax.servlet.http.HttpSessionname - name
HttpSession.getValue(java.lang.String)public final String[] getValueNames()
getValueNames in interface javax.servlet.http.HttpSessionHttpSession.getValueNames()public final void invalidate()
invalidate in interface javax.servlet.http.HttpSessionHttpSession.invalidate()public final boolean isNew()
isNew in interface javax.servlet.http.HttpSessionHttpSession.isNew()
public final void putValue(String name,
Object value)
putValue in interface javax.servlet.http.HttpSessionname - namevalue - valueHttpSession.putValue(java.lang.String, java.lang.Object)public final void removeAttribute(String name)
removeAttribute in interface javax.servlet.http.HttpSessionname - nameHttpSession.removeAttribute(java.lang.String)public final void removeValue(String name)
removeValue in interface javax.servlet.http.HttpSessionname - nameHttpSession.removeValue(java.lang.String)
public final void setAttribute(String name,
Object value)
setAttribute in interface javax.servlet.http.HttpSessionname - namevalue - valueHttpSession.setAttribute(java.lang.String, java.lang.Object)public final void setMaxInactiveInterval(int max)
setMaxInactiveInterval in interface javax.servlet.http.HttpSessionmax - max inactive intervalHttpSession.setMaxInactiveInterval(int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||