public static interface HttpAuthenticationFeature.Builder
HttpAuthenticationFeature
.Modifier and Type | Method and Description |
---|---|
HttpAuthenticationFeature |
build()
Build the feature.
|
HttpAuthenticationFeature.Builder |
credentials(java.lang.String username,
byte[] password)
Set credentials.
|
HttpAuthenticationFeature.Builder |
credentials(java.lang.String username,
java.lang.String password)
Set credentials.
|
HttpAuthenticationFeature.Builder credentials(java.lang.String username, byte[] password)
username
- Username.password
- Password as byte array.HttpAuthenticationFeature.Builder credentials(java.lang.String username, java.lang.String password)
username
- Username.password
- Password as String
.HttpAuthenticationFeature build()