Package org.localify.common.geoip
Class NoOpGeoIp
java.lang.Object
org.localify.common.geoip.NoOpGeoIp
- All Implemented Interfaces:
GeoIpService
A dummy implementation of
GeoIpService that does nothing.
This is used when GeoIP is disabled.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDetails(String ipAddress, boolean permitFallback) Returns null.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.localify.common.geoip.GeoIpService
getDetails
-
Constructor Details
-
NoOpGeoIp
public NoOpGeoIp()
-
-
Method Details
-
getDetails
Returns null.- Specified by:
getDetailsin interfaceGeoIpService- Parameters:
ipAddress- The IP address.permitFallback- Whether to permit fallback to a default location.- Returns:
- null
-