|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wicket.request.ClientInfo
org.apache.wicket.protocol.http.request.WebClientInfo
public class WebClientInfo
Default client info object for web applications.
Constructor Summary | |
---|---|
WebClientInfo(WebRequestCycle requestCycle)
Construct. |
|
WebClientInfo(WebRequestCycle requestCycle,
String userAgent)
Construct. |
Method Summary | |
---|---|
ClientProperties |
getProperties()
Gets the client properties object. |
protected String |
getRemoteAddr(WebRequestCycle requestCycle)
When using ProxyPass, requestCycle().getHttpServletRequest(). |
String |
getUserAgent()
Gets the user agent string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebClientInfo(WebRequestCycle requestCycle)
requestCycle
- the request cyclepublic WebClientInfo(WebRequestCycle requestCycle, String userAgent)
requestCycle
- the request cycleuserAgent
- the user agentMethod Detail |
---|
public final ClientProperties getProperties()
public final String getUserAgent()
protected String getRemoteAddr(WebRequestCycle requestCycle)
requestCycle
- the request cycle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |