Interface ClientSession


public interface ClientSession
At the moment, the "Client Session" object just wraps around an id.
  • 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

      String getParam(String name)
      Parameters:
      name - the name of the parameter
      Returns:
      the servlet request parameter value
    • getAttachment

      InputStream getAttachment(String filePartName) throws IOException
      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