|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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(). |
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 cyclepublic WebClientInfo(RequestCycle requestCycle, String userAgent)
requestCycle
- the request cycleuserAgent
- The User-Agent stringMethod 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 |