Interface HttpAuthenticationFeature.Builder
- All Known Subinterfaces:
HttpAuthenticationFeature.BasicBuilder,HttpAuthenticationFeature.UniversalBuilder
- Enclosing class:
- HttpAuthenticationFeature
public static interface HttpAuthenticationFeature.Builder
Builder that creates instances of
HttpAuthenticationFeature.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the feature.credentials(String username, byte[] password) Set credentials.credentials(String username, String password) Set credentials.
-
Method Details
-
credentials
Set credentials.- Parameters:
username- Username.password- Password as byte array.- Returns:
- This builder.
-
credentials
Set credentials.- Parameters:
username- Username.password- Password asString.- Returns:
- This builder.
-
build
HttpAuthenticationFeature build()Build the feature.- Returns:
- Http authentication feature configured from this builder.
-