com.meterware.httpunit

Class DialogAdapter

public class DialogAdapter extends Object implements DialogResponder

Author: Russell Gold

Method Summary
booleangetConfirmation(String confirmationPrompt)
Invoked when the user agent needs to display a confirmation dialog.
StringgetUserResponse(String prompt, String defaultResponse)
Invoked when the user agent needs to display a generic dialog and obtain a user response.

Method Detail

getConfirmation

public boolean getConfirmation(String confirmationPrompt)
Invoked when the user agent needs to display a confirmation dialog. This default implementation confirms all dialogs.

getUserResponse

public String getUserResponse(String prompt, String defaultResponse)
Invoked when the user agent needs to display a generic dialog and obtain a user response. This default implementation returns the default response.