Package org.graylog2.plugin
Class ResolvableInetSocketAddress
java.lang.Object
org.graylog2.plugin.ResolvableInetSocketAddress
InetSocketAddress does not support finding out whether an IP address has been reverse looked up or not.
However, we need to avoid triggering a name service lookup unless specifically asked to.
This class exists to make the reverse lookup step explicit in the code.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedResolvableInetSocketAddress(InetSocketAddress inetSocketAddress) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]intgetPort()booleanbooleantoString()static ResolvableInetSocketAddresswrap(InetSocketAddress socketAddress)
-
Constructor Details
-
ResolvableInetSocketAddress
-
-
Method Details