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.BasicAuthCredentialsMutatorProvides a mutator for aBasicAuthCredentialsproperty.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BasicAuthCredentialsputBasicAuthCredentials(java.lang.String aUserName, java.lang.String aSecret)Sets theBasicAuthCredentialsfrom the user name and the secret for the Basic-Authentication credentials property.BasicAuthCredentialsputBasicAuthCredentials(BasicAuthCredentials aBasicAuthCredentials)Sets theBasicAuthCredentialsfor the Basic-Authentication credentials property.
-
-
-
Method Detail
-
putBasicAuthCredentials
BasicAuthCredentials putBasicAuthCredentials(BasicAuthCredentials aBasicAuthCredentials)
Sets theBasicAuthCredentialsfor the Basic-Authentication credentials property.- Parameters:
aBasicAuthCredentials- TheBasicAuthCredentialsto be stored by theBasicAuthCredentialsproperty.- Returns:
- The previously set
BasicAuthCredentialsor null if none have been set.
-
putBasicAuthCredentials
default BasicAuthCredentials putBasicAuthCredentials(java.lang.String aUserName, java.lang.String aSecret)
Sets theBasicAuthCredentialsfrom the user name and the secret for the Basic-Authentication credentials property.- Parameters:
aUserName- The user name to be stored by theBasicAuthCredentialsproperty.aSecret- The password to be stored by theBasicAuthCredentialsproperty.- Returns:
- The previously set
BasicAuthCredentialsor null if none have been set.
-
-