Package jadex.extension.rs.publish
Class NanoHttpServletRequestWrapper.NanoHttpSession
- java.lang.Object
- 
- jadex.extension.rs.publish.NanoHttpServletRequestWrapper.NanoHttpSession
 
- 
- All Implemented Interfaces:
- javax.servlet.http.HttpSession
 - Enclosing class:
- NanoHttpServletRequestWrapper
 
 public static class NanoHttpServletRequestWrapper.NanoHttpSession extends java.lang.Object implements javax.servlet.http.HttpSession
- 
- 
Field SummaryFields Modifier and Type Field Description protected longaccessprotected java.util.Map<java.lang.String,java.lang.Object>attributesprotected longcreatedprotected java.lang.Stringidprotected intintervalstatic java.util.Map<java.lang.String,NanoHttpServletRequestWrapper.NanoHttpSession>sessions
 - 
Constructor SummaryConstructors Constructor Description NanoHttpSession(java.lang.String id)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetAttribute(java.lang.String name)java.util.Enumeration<java.lang.String>getAttributeNames()longgetCreationTime()java.lang.StringgetId()longgetLastAccessedTime()intgetMaxInactiveInterval()javax.servlet.ServletContextgetServletContext()javax.servlet.http.HttpSessionContextgetSessionContext()java.lang.ObjectgetValue(java.lang.String name)java.lang.String[]getValueNames()voidinvalidate()booleanisNew()protected booleanisValid()voidputValue(java.lang.String name, java.lang.Object value)voidremoveAttribute(java.lang.String name)voidremoveValue(java.lang.String name)voidsetAttribute(java.lang.String name, java.lang.Object value)voidsetMaxInactiveInterval(int interval)
 
- 
- 
- 
Field Detail- 
sessionspublic static final java.util.Map<java.lang.String,NanoHttpServletRequestWrapper.NanoHttpSession> sessions 
 - 
idprotected java.lang.String id 
 - 
attributesprotected java.util.Map<java.lang.String,java.lang.Object> attributes 
 - 
intervalprotected int interval 
 - 
accessprotected long access 
 - 
createdprotected long created 
 
- 
 - 
Method Detail- 
setMaxInactiveIntervalpublic void setMaxInactiveInterval(int interval) - Specified by:
- setMaxInactiveIntervalin interface- javax.servlet.http.HttpSession
 
 - 
setAttributepublic void setAttribute(java.lang.String name, java.lang.Object value)- Specified by:
- setAttributein interface- javax.servlet.http.HttpSession
 
 - 
removeValuepublic void removeValue(java.lang.String name) - Specified by:
- removeValuein interface- javax.servlet.http.HttpSession
 
 - 
removeAttributepublic void removeAttribute(java.lang.String name) - Specified by:
- removeAttributein interface- javax.servlet.http.HttpSession
 
 - 
putValuepublic void putValue(java.lang.String name, java.lang.Object value)- Specified by:
- putValuein interface- javax.servlet.http.HttpSession
 
 - 
isNewpublic boolean isNew() - Specified by:
- isNewin interface- javax.servlet.http.HttpSession
 
 - 
invalidatepublic void invalidate() - Specified by:
- invalidatein interface- javax.servlet.http.HttpSession
 
 - 
getValueNamespublic java.lang.String[] getValueNames() - Specified by:
- getValueNamesin interface- javax.servlet.http.HttpSession
 
 - 
getValuepublic java.lang.Object getValue(java.lang.String name) - Specified by:
- getValuein interface- javax.servlet.http.HttpSession
 
 - 
getSessionContextpublic javax.servlet.http.HttpSessionContext getSessionContext() - Specified by:
- getSessionContextin interface- javax.servlet.http.HttpSession
 
 - 
getServletContextpublic javax.servlet.ServletContext getServletContext() - Specified by:
- getServletContextin interface- javax.servlet.http.HttpSession
 
 - 
getMaxInactiveIntervalpublic int getMaxInactiveInterval() - Specified by:
- getMaxInactiveIntervalin interface- javax.servlet.http.HttpSession
 
 - 
getLastAccessedTimepublic long getLastAccessedTime() - Specified by:
- getLastAccessedTimein interface- javax.servlet.http.HttpSession
 
 - 
getIdpublic java.lang.String getId() - Specified by:
- getIdin interface- javax.servlet.http.HttpSession
 
 - 
getCreationTimepublic long getCreationTime() - Specified by:
- getCreationTimein interface- javax.servlet.http.HttpSession
 
 - 
getAttributeNamespublic java.util.Enumeration<java.lang.String> getAttributeNames() - Specified by:
- getAttributeNamesin interface- javax.servlet.http.HttpSession
 
 - 
getAttributepublic java.lang.Object getAttribute(java.lang.String name) - Specified by:
- getAttributein interface- javax.servlet.http.HttpSession
 
 - 
isValidprotected boolean isValid() 
 
- 
 
-