public abstract static class XsrfCheck.AsynchFormSubmission extends XsrfCheck.FormSubmission
Constructor and Description |
---|
AsynchFormSubmission(String submitId,
long timeoutMS) |
Modifier and Type | Method and Description |
---|---|
void |
init(net.sourceforge.jwebunit.WebTester tester,
Navigation navigation,
Form form)
Initialise the submission with state from the checker.
|
abstract boolean |
isOperationFinished() |
void |
removeToken()
Removes the token from the state so that we can test what happens when a "dodgy token" is submitted to an
action that is expecting a good token.
|
void |
submitRequest()
Submits a request to an action that presumably is XSRF-protected and requires a token to be present.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init
public AsynchFormSubmission(String submitId, long timeoutMS)
public void removeToken()
XsrfCheck.Submission
removeToken
in interface XsrfCheck.Submission
removeToken
in class XsrfCheck.AbstractFormSubmission
public void submitRequest()
XsrfCheck.Submission
submitRequest
in interface XsrfCheck.Submission
submitRequest
in class XsrfCheck.FormSubmission
public abstract boolean isOperationFinished()
public void init(net.sourceforge.jwebunit.WebTester tester, Navigation navigation, Form form)
XsrfCheck.Submission
init
in interface XsrfCheck.Submission
tester
- web testernavigation
- navigationform
- formCopyright © 2002-2017 Atlassian. All Rights Reserved.