Package org.refcodes.net
Interface BasicAuthCredentialsAccessor.BasicAuthCredentialsMutator
-
- All Known Subinterfaces:
BasicAuthCredentialsAccessor.BasicAuthCredentialsProperty
,HeaderFields<C,B>
,RequestHeaderFields
,ResponseHeaderFields
- All Known Implementing Classes:
AbstractHeaderFields
,RequestHeaderFieldsImpl
,ResponseHeaderFieldsImpl
- Enclosing interface:
- BasicAuthCredentialsAccessor
public static interface BasicAuthCredentialsAccessor.BasicAuthCredentialsMutator
Provides a mutator for aBasicAuthCredentials
property.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BasicAuthCredentials
putBasicAuthCredentials(java.lang.String aUserName, java.lang.String aSecret)
Sets theBasicAuthCredentials
from the user name and the secret for the Basic-Authentication credentials property.BasicAuthCredentials
putBasicAuthCredentials(BasicAuthCredentials aBasicAuthCredentials)
Sets theBasicAuthCredentials
for the Basic-Authentication credentials property.
-
-
-
Method Detail
-
putBasicAuthCredentials
BasicAuthCredentials putBasicAuthCredentials(BasicAuthCredentials aBasicAuthCredentials)
Sets theBasicAuthCredentials
for the Basic-Authentication credentials property.- Parameters:
aBasicAuthCredentials
- TheBasicAuthCredentials
to be stored by theBasicAuthCredentials
property.- Returns:
- The previously set
BasicAuthCredentials
or null if none have been set.
-
putBasicAuthCredentials
default BasicAuthCredentials putBasicAuthCredentials(java.lang.String aUserName, java.lang.String aSecret)
Sets theBasicAuthCredentials
from the user name and the secret for the Basic-Authentication credentials property.- Parameters:
aUserName
- The user name to be stored by theBasicAuthCredentials
property.aSecret
- The password to be stored by theBasicAuthCredentials
property.- Returns:
- The previously set
BasicAuthCredentials
or null if none have been set.
-
-