Package org.jets3t.servlets.gatekeeper
Class ClientInformation
java.lang.Object
org.jets3t.servlets.gatekeeper.ClientInformation
Stores information about the HTTP client that submitted a request to the Gatekeeper.
The information available about a client will depend on the server and client configuration, such as whether the client is identified with an existing HttpSession or Principal. It must be assumed that much of the information stored in this class will have a null value in many cases.
All information in this class is sourced from equivalent methods in
HttpServletRequest
.
- Author:
- James Murty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.servlet.http.HttpServletRequest
int
javax.servlet.http.HttpSession
-
Constructor Details
-
ClientInformation
-
-
Method Details
-
getRemoteAddress
-
getRemoteHost
-
getRemotePort
public int getRemotePort() -
getRemoteUser
-
getSession
public javax.servlet.http.HttpSession getSession() -
getUserPrincipal
-
getUserAgent
-
getHttpServletRequest
public javax.servlet.http.HttpServletRequest getHttpServletRequest()- Returns:
- the original servlet request, in case the specific information captured in this class is not sufficient.
-