public class ApiKeyAuth extends Object implements okhttp3.Interceptor
| Constructor and Description |
|---|
ApiKeyAuth(String location,
String paramName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getApiKey() |
String |
getLocation() |
String |
getParamName() |
okhttp3.Response |
intercept(okhttp3.Interceptor.Chain chain) |
void |
setApiKey(String apiKey) |
public String getLocation()
public String getParamName()
public String getApiKey()
public void setApiKey(String apiKey)
public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain)
throws IOException
intercept in interface okhttp3.InterceptorIOExceptionCopyright © 2020. All rights reserved.