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 String
getPassword()
String
getUsername()
okhttp3.Response
intercept(okhttp3.Interceptor.Chain chain)
void
setCredentials(String username, String password)
void
setPassword(String password)
void
setUsername(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:
intercept
in interfaceokhttp3.Interceptor
- Throws:
IOException
-
-