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 StringgetApiKey()StringgetLocation()StringgetParamName()okhttp3.Responseintercept(okhttp3.Interceptor.Chain chain)voidsetApiKey(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:
interceptin interfaceokhttp3.Interceptor- Throws:
IOException
-
-