|
||||||||||
| 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(RequestCycle requestCycle)
Construct. |
|
WebClientInfo(RequestCycle requestCycle,
String userAgent)
Construct. |
|
| Method Summary | |
|---|---|
ClientProperties |
getProperties()
Gets the client properties object. |
protected String |
getRemoteAddr(RequestCycle requestCycle)
When using ProxyPass, requestCycle().getHttpServletRequest(). getRemoteAddr() returns the IP of the machine forwarding the request. |
String |
getUserAgent()
returns 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(RequestCycle requestCycle)
requestCycle - the request cycle
public WebClientInfo(RequestCycle requestCycle,
String userAgent)
requestCycle - the request cycleuserAgent - The User-Agent string| Method Detail |
|---|
public final ClientProperties getProperties()
public final String getUserAgent()
protected String getRemoteAddr(RequestCycle requestCycle)
requestCycle - the request cycle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||