Class DNSResolutionListener


  • public class DNSResolutionListener
    extends okhttp3.EventListener
    • Nested Class Summary

      • Nested classes/interfaces inherited from class okhttp3.EventListener

        okhttp3.EventListener.Companion, okhttp3.EventListener.Factory
    • Field Summary

      • Fields inherited from class okhttp3.EventListener

        Companion, NONE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dnsEnd​(okhttp3.Call call, String domainName, List<InetAddress> inetAddressList)  
      void dnsStart​(okhttp3.Call call, String domainName)  
      • Methods inherited from class okhttp3.EventListener

        cacheConditionalHit, cacheHit, cacheMiss, callEnd, callFailed, callStart, canceled, connectEnd, connectFailed, connectionAcquired, connectionReleased, connectStart, proxySelectEnd, proxySelectStart, requestBodyEnd, requestBodyStart, requestFailed, requestHeadersEnd, requestHeadersStart, responseBodyEnd, responseBodyStart, responseFailed, responseHeadersEnd, responseHeadersStart, satisfactionFailure, secureConnectEnd, secureConnectStart
    • Constructor Detail

      • DNSResolutionListener

        public DNSResolutionListener​(Map<String,​Long> times)
    • Method Detail

      • dnsEnd

        public void dnsEnd​(okhttp3.Call call,
                           String domainName,
                           List<InetAddress> inetAddressList)
        Overrides:
        dnsEnd in class okhttp3.EventListener
      • dnsStart

        public void dnsStart​(okhttp3.Call call,
                             String domainName)
        Overrides:
        dnsStart in class okhttp3.EventListener