Class ApiKeyAuth

  • All Implemented Interfaces:
    okhttp3.Interceptor

    public class ApiKeyAuth
    extends Object
    implements okhttp3.Interceptor
    • Constructor Detail

      • ApiKeyAuth

        public ApiKeyAuth​(String location,
                          String paramName)
    • Method Detail

      • getLocation

        public String getLocation()
      • getParamName

        public String getParamName()
      • getApiKey

        public String getApiKey()
      • setApiKey

        public void setApiKey​(String apiKey)
      • intercept

        public okhttp3.Response intercept​(okhttp3.Interceptor.Chain chain)
                                   throws IOException
        Specified by:
        intercept in interface okhttp3.Interceptor
        Throws:
        IOException