public static final class AuthenticateCallback.Action extends AsyncCallbackAction<com.teamdev.jxbrowser.net.internal.rpc.Authenticate.Response>
AuthenticateCallback.| Constructor and Description |
|---|
Action(java.util.function.Consumer<com.teamdev.jxbrowser.net.internal.rpc.Authenticate.Response> consumer) |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(java.lang.String userName,
java.lang.String password)
Notifies the engine that the authentication should be performed with the particular
userName and password. |
void |
cancel()
Notifies the engine that the authentication should be canceled.
|
isClosedpublic Action(java.util.function.Consumer<com.teamdev.jxbrowser.net.internal.rpc.Authenticate.Response> consumer)
public void authenticate(java.lang.String userName,
java.lang.String password)
userName and password.userName - the username to use for authenticatingpassword - the password to use for authenticatingpublic void cancel()