Package com.meterware.httpunit
Class DialogAdapter
java.lang.Object
com.meterware.httpunit.DialogAdapter
- All Implemented Interfaces:
DialogResponder
- Author:
- Russell Gold
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getConfirmation
(String confirmationPrompt) Invoked when the user agent needs to display a confirmation dialog.getUserResponse
(String prompt, String defaultResponse) Invoked when the user agent needs to display a generic dialog and obtain a user response.
-
Constructor Details
-
DialogAdapter
public DialogAdapter()
-
-
Method Details
-
getConfirmation
Invoked when the user agent needs to display a confirmation dialog. This default implementation confirms all dialogs.- Specified by:
getConfirmation
in interfaceDialogResponder
-
getUserResponse
Invoked when the user agent needs to display a generic dialog and obtain a user response. This default implementation returns the default response.- Specified by:
getUserResponse
in interfaceDialogResponder
-