Package org.refcodes.net
Interface BasicAuthCredentialsAccessor.BasicAuthCredentialsBuilder<B extends BasicAuthCredentialsAccessor.BasicAuthCredentialsBuilder<B>>
-
- Type Parameters:
B
- The builder to return in order to be able to apply multiple build operations.
- All Known Subinterfaces:
HeaderFields<C,B>
,RequestHeaderFields
,ResponseHeaderFields
- All Known Implementing Classes:
AbstractHeaderFields
,RequestHeaderFieldsImpl
,ResponseHeaderFieldsImpl
- Enclosing interface:
- BasicAuthCredentialsAccessor
public static interface BasicAuthCredentialsAccessor.BasicAuthCredentialsBuilder<B extends BasicAuthCredentialsAccessor.BasicAuthCredentialsBuilder<B>>
Provides a builder method for aBasicAuthCredentials
property returning the builder for applying multiple build operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description B
withBasicAuthCredentials(java.lang.String aUserName, java.lang.String aSecret)
Sets theBasicAuthCredentials
from the user name and the secret for the Basic-Authentication credentials property.B
withBasicAuthCredentials(BasicAuthCredentials aBasicAuthCredentials)
Sets theBasicAuthCredentials
for the Basic-Authentication credentials property.
-
-
-
Method Detail
-
withBasicAuthCredentials
B withBasicAuthCredentials(BasicAuthCredentials aBasicAuthCredentials)
Sets theBasicAuthCredentials
for the Basic-Authentication credentials property.- Parameters:
aBasicAuthCredentials
- TheBasicAuthCredentials
to be stored by theBasicAuthCredentials
property.- Returns:
- The builder for applying multiple build operations.
-
withBasicAuthCredentials
B withBasicAuthCredentials(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 builder for applying multiple build operations.
-
-