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. |
java.lang.String |
getUserAgent()
Returns the user agent that started this session.
|
createItsNatVariableResolver, getAttribute, getAttributeNames, getId, getItsNatDocumentById, getItsNatDocumentCount, getItsNatDocuments, getItsNatServletContext, removeAttribute, setAttribute
containsUserValueName, getUserValue, getUserValueNames, removeUserValue, setUserValue
javax.servlet.http.HttpSession getHttpSession()
javax.servlet.http.HttpSession
object.java.lang.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 © 2007 Innowhere Software Services S.L. All Rights Reserved.