|
Graphene Implementation 1.0.0.CR3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.arquillian.ajocado.guard.RequestGuardImpl
public class RequestGuardImpl
Java API for interception of HTTP/XMLHttpRequest requests.
Needs to have PageExtensions installed in the current page using
PageExtensionsImpl.install()
.
Constructor Summary | |
---|---|
RequestGuardImpl()
|
Method Summary | |
---|---|
RequestType |
clearRequestDone()
Clears the request type indicated on the page, gives possibility to intercept subsequent requests. |
RequestType |
getRequestDone()
Obtains the done requestType from page. |
void |
waitForRequest()
Waits for change of RequestType indicated on the page from NONE to other value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestGuardImpl()
Method Detail |
---|
public RequestType getRequestDone()
getRequestDone
in interface RequestGuard
IllegalStateException
- when the unknown type of request was obtainedpublic RequestType clearRequestDone()
Clears the request type indicated on the page, gives possibility to intercept subsequent requests.
Returns the last RequestType set.
clearRequestDone
in interface RequestGuard
IllegalStateException
- when the unknown type of request was obtainedpublic void waitForRequest()
waitForRequest
in interface RequestGuard
|
Graphene Implementation 1.0.0.CR3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |