Class HttpBasicAuth
- java.lang.Object
-
- de.tsystems.mms.apm.performancesignature.dynatrace.rest.json.auth.HttpBasicAuth
-
- All Implemented Interfaces:
okhttp3.Interceptor
public class HttpBasicAuth extends Object implements okhttp3.Interceptor
-
-
Constructor Summary
Constructors Constructor Description HttpBasicAuth()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPassword()StringgetUsername()okhttp3.Responseintercept(okhttp3.Interceptor.Chain chain)voidsetCredentials(String username, String password)voidsetPassword(String password)voidsetUsername(String username)
-
-
-
Method Detail
-
getUsername
public String getUsername()
-
setUsername
public void setUsername(String username)
-
getPassword
public String getPassword()
-
setPassword
public void setPassword(String password)
-
intercept
public okhttp3.Response intercept(@Nonnull okhttp3.Interceptor.Chain chain) throws IOException
- Specified by:
interceptin interfaceokhttp3.Interceptor- Throws:
IOException
-
-