public interface ItsNatHttpSession extends ItsNatSession
javax.servlet.http.HttpSession object.
The ItsNat the session concept is borrowed from the HTTP Java Servlet session concept.
The live of an ItsNat session is the same as the wrapped HttpSession.
ItsNatHttpServletRequest.getItsNatHttpSession()| Modifier and Type | Method and Description |
|---|---|
javax.servlet.http.HttpSession |
getHttpSession()
Returns the wrapped
javax.servlet.http.HttpSession object. |
String |
getUserAgent()
Returns the user agent that started this session.
|
createItsNatVariableResolver, getAttribute, getAttributeNames, getId, getItsNatDocumentById, getItsNatDocumentCount, getItsNatDocuments, getItsNatServletContext, removeAttribute, setAttributecontainsUserValueName, getUserValue, getUserValueNames, removeUserValue, setUserValuejavax.servlet.http.HttpSession getHttpSession()
javax.servlet.http.HttpSession object.String getUserAgent()
This value is obtained from the first request that started this session
calling HttpServletRequest.getHeader(String) with "User-Agent" as parameter.
In a typical HTTP environment the user agent (a browser) does not change alongside the session.
Copyright © Innowhere Software, Jose Maria Arranz Santamaria.