Class AuthenticateCallback.Action
java.lang.Object
com.teamdev.jxbrowser.callback.AsyncCallbackAction<com.teamdev.jxbrowser.net.internal.rpc.Authenticate.Response>
com.teamdev.jxbrowser.net.callback.AuthenticateCallback.Action
- Enclosing interface:
- AuthenticateCallback
public static final class AuthenticateCallback.Action
extends AsyncCallbackAction<com.teamdev.jxbrowser.net.internal.rpc.Authenticate.Response>
An action providing a response to the
AuthenticateCallback
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
authenticate
(String userName, String password) Notifies the engine that the authentication should be performed with the particularuserName
andpassword
.void
cancel()
Notifies the engine that the authentication should be canceled.Methods inherited from class com.teamdev.jxbrowser.callback.AsyncCallbackAction
isClosed
-
Constructor Details
-
Action
-
-
Method Details
-
authenticate
Notifies the engine that the authentication should be performed with the particularuserName
andpassword
.- Parameters:
userName
- the username to use for authenticatingpassword
- the password to use for authenticating
-
cancel
public void cancel()Notifies the engine that the authentication should be canceled.
-