Class DNSEntry
java.lang.Object
org.deltava.util.dns.DNSEntry
- All Implemented Interfaces:
Serializable, RemoteAddressBean, Cacheable
- Direct Known Subclasses:
DNSTimeoutEntry
A bean to store a cached reverse DNS entry.
- Since:
- 12.4
- Version:
- 12.4
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RemoteAddressBean
getIsResolvedModifier and TypeMethodDescriptiondefault booleanReturns if the host name has been resolved.
-
Constructor Details
-
DNSEntry
-
-
Method Details
-
getRemoteAddr
Description copied from interface:RemoteAddressBeanReturns the remote IP address.- Specified by:
getRemoteAddrin interfaceRemoteAddressBean- Returns:
- an IPv4 or IPv6 address
-
getRemoteHost
Description copied from interface:RemoteAddressBeanReturns the remote host name.- Specified by:
getRemoteHostin interfaceRemoteAddressBean- Returns:
- the host name, or address if unresolved
-
cacheKey
-
hashCode
-