public class WebClientInfo extends ClientInfo
| Constructor and Description |
|---|
WebClientInfo(RequestCycle requestCycle)
Construct.
|
WebClientInfo(RequestCycle requestCycle,
String userAgent)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
ClientProperties |
getProperties()
Gets the client properties object.
|
protected String |
getRemoteAddr(RequestCycle requestCycle)
When using ProxyPass, requestCycle().getHttpServletRequest().
|
String |
getUserAgent()
returns the user agent string.
|
public WebClientInfo(RequestCycle requestCycle)
requestCycle - the request cyclepublic WebClientInfo(RequestCycle requestCycle, String userAgent)
requestCycle - the request cycleuserAgent - The User-Agent stringpublic final ClientProperties getProperties()
public final String getUserAgent()
protected String getRemoteAddr(RequestCycle requestCycle)
requestCycle - the request cycleCopyright © 2006–2014 Apache Software Foundation. All rights reserved.