public class WebClientInfo extends ClientInfo
Constructor and Description |
---|
WebClientInfo(RequestCycle requestCycle)
Construct.
|
WebClientInfo(RequestCycle requestCycle,
ClientProperties properties)
Construct.
|
WebClientInfo(RequestCycle requestCycle,
String userAgent)
Construct.
|
WebClientInfo(RequestCycle requestCycle,
String userAgent,
ClientProperties properties)
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, ClientProperties properties)
requestCycle
- the request cyclepublic WebClientInfo(RequestCycle requestCycle, String userAgent)
requestCycle
- the request cycleuserAgent
- The User-Agent stringpublic WebClientInfo(RequestCycle requestCycle, String userAgent, ClientProperties properties)
requestCycle
- the request cycleuserAgent
- The User-Agent stringproperties
- properties of clientpublic final ClientProperties getProperties()
public final String getUserAgent()
protected String getRemoteAddr(RequestCycle requestCycle)
requestCycle
- the request cycleCopyright © 2006–2019 Apache Software Foundation. All rights reserved.