Class ApiKeyAuth
- java.lang.Object
-
- de.tsystems.mms.apm.performancesignature.dynatracesaas.rest.auth.ApiKeyAuth
-
- All Implemented Interfaces:
okhttp3.Interceptor
public class ApiKeyAuth extends Object implements okhttp3.Interceptor
-
-
Constructor Summary
Constructors Constructor Description ApiKeyAuth(String location, String paramName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getApiKey()
String
getLocation()
String
getParamName()
okhttp3.Response
intercept(okhttp3.Interceptor.Chain chain)
void
setApiKey(String apiKey)
-
-
-
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 interfaceokhttp3.Interceptor
- Throws:
IOException
-
-