Module org.refcodes.web
Package org.refcodes.web
Interface BasicAuthCredentialsAccessor.BasicAuthCredentialsProperty
- All Superinterfaces:
BasicAuthCredentialsAccessor
,BasicAuthCredentialsAccessor.BasicAuthCredentialsMutator
- Enclosing interface:
- BasicAuthCredentialsAccessor
public static interface BasicAuthCredentialsAccessor.BasicAuthCredentialsProperty
extends BasicAuthCredentialsAccessor, BasicAuthCredentialsAccessor.BasicAuthCredentialsMutator
Provides a
BasicAuthCredentials
property.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.web.BasicAuthCredentialsAccessor
BasicAuthCredentialsAccessor.BasicAuthCredentialsBuilder<B extends BasicAuthCredentialsAccessor.BasicAuthCredentialsBuilder<B>>, BasicAuthCredentialsAccessor.BasicAuthCredentialsMutator, BasicAuthCredentialsAccessor.BasicAuthCredentialsProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault BasicAuthCredentials
letBasicAuthCredentials
(String aUserName, String aSecret) This method stores and passes through the given arguments, which is very useful for builder APIs:Sets theBasicAuthCredentials
from the user name and the secret for the Basic-Authentication credentials property.default BasicAuthCredentials
letBasicAuthCredentials
(BasicAuthCredentials aBasicAuthCredentials) This method stores and passes through the given argument, which is very useful for builder APIs:Sets theBasicAuthCredentials
for the Basic-Authentication credentials property.Methods inherited from interface org.refcodes.web.BasicAuthCredentialsAccessor
getBasicAuthCredentials
Methods inherited from interface org.refcodes.web.BasicAuthCredentialsAccessor.BasicAuthCredentialsMutator
setBasicAuthCredentials, setBasicAuthCredentials
-
Method Details
-
letBasicAuthCredentials
This method stores and passes through the given argument, which is very useful for builder APIs:Sets theBasicAuthCredentials
for the Basic-Authentication credentials property.- Parameters:
aBasicAuthCredentials
- TheBasicAuthCredentials
to be stored by theBasicAuthCredentials
property.- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
letBasicAuthCredentials
This method stores and passes through the given arguments, which is very useful for builder APIs: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:
- Returns the values passed (combined to an instance of
BasicAuthCredentials
) for it to be used in conclusive processing steps.
-