Class NoDns

  • All Implemented Interfaces:
    okhttp3.Dns

    @NotNullByDefault
    public class NoDns
    extends java.lang.Object
    implements okhttp3.Dns
    • Field Summary

      • Fields inherited from interface okhttp3.Dns

        SYSTEM
    • Constructor Summary

      Constructors 
      Constructor Description
      NoDns()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.net.InetAddress> lookup​(java.lang.String hostname)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NoDns

        public NoDns()
    • Method Detail

      • lookup

        public java.util.List<java.net.InetAddress> lookup​(java.lang.String hostname)
                                                    throws java.net.UnknownHostException
        Specified by:
        lookup in interface okhttp3.Dns
        Throws:
        java.net.UnknownHostException