@StableMinor(version="12.4", sinceVersion="10.2") public interface IGeoLocationManager
Modifier and Type | Field and Description |
---|---|
static ILogger |
LOGGER
This class' logger.
|
Modifier and Type | Method and Description |
---|---|
default ExtendedGeoPoint |
getGeoPointByAddress(InetAddress address)
Returns the extended geo point based on the given ip address or
null if Geolocation service is disabled or the address couldn't be found. |
default ExtendedGeoPoint |
getGeoPointByIpOrHostName(String ipOrHost)
Returns the extended geo point based on the given ip address or host name or
null if Geolocation service is disabled or the address couldn't be found. |
default ExtendedGeoPoint |
getGeoPointByRequest(HttpServletRequest request)
Returns the extended geo point based on the given request or
null if Geolocation service is disabled or the address couldn't be found. |
static final ILogger LOGGER
default ExtendedGeoPoint getGeoPointByRequest(HttpServletRequest request) throws UnknownHostException
null
if Geolocation service is disabled or the address couldn't be found.
Gets the location of remote address
.request
- the request.null
if Geolocation service is disabled or the address couldn't be found.UnknownHostException
default ExtendedGeoPoint getGeoPointByIpOrHostName(String ipOrHost) throws UnknownHostException
null
if Geolocation service is disabled or the address couldn't be found.ipOrHost
- the ip address or host name.null
if Geolocation service is disabled or the address couldn't be found.UnknownHostException
default ExtendedGeoPoint getGeoPointByAddress(InetAddress address)
null
if Geolocation service is disabled or the address couldn't be found.address
- the ip address.null
if Geolocation service is disabled or the address couldn't be found.LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.