Copyright© 2008-2022 Sitevision AB, all rights reserved.
@Requireable(value="ClientUtil") public interface ClientUtil
An instance of the Sitevision class implementing this interface can be obtained via Utils.getClientUtil().
See Utils for how to obtain an instance of the Utils interface.
Tip! If you want to check if current client is a mobile device, you would typically use
DeviceUtil.
| Modifier and Type | Method and Description |
|---|---|
String |
getClientAddress()
Gets the Internet Protocol (IP) address of the client (or last proxy) that initiated currently executing request.
|
String getClientAddress()
String containing the IP address of the client that sent the request, or null if indeterminableSitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.