Class CourierOkHttpClient

  • All Implemented Interfaces:

    
    public final class CourierOkHttpClient
    
                        

    A class that allows building an instance of CourierClient with OkHttpClient as the underlying HttpClient.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static CourierOkHttpClient.Builder builder() Returns a mutable builder for constructing an instance of CourierClient.
      final static CourierClient fromEnv() Returns a client configured using system properties and environment variables.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • fromEnv

         final static CourierClient fromEnv()

        Returns a client configured using system properties and environment variables.