Interface ClientSession
public interface ClientSession
At the moment, the "Client Session" object just wraps around an id.
-
Method Summary
Modifier and TypeMethodDescriptiongetAttachment
(String filePartName) Gets a multi-part attachmentreturn the IP address that the user is currently coming in onan identifier to the client session
-
Method Details
-
getSessionId
String getSessionId()an identifier to the client session- Returns:
- the session id
-
getIpAddress
String getIpAddress()return the IP address that the user is currently coming in on- Returns:
- the IP address
-
getLanguage
String getLanguage()- Returns:
- the preferred language of the user
-
getLocale
Locale getLocale()- Returns:
- the full Locale object
-
getParam
- Parameters:
name
- the name of the parameter- Returns:
- the servlet request parameter value
-
getAttachment
Gets a multi-part attachment- Parameters:
filePartName
- the name of the file part from which we can get the file out- Returns:
- an attachment
- Throws:
IOException
-