|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.test.selenium.request.RequestInterceptor
public class RequestInterceptor
Java API for interception of HTTP/XMLHttpRequest requests.
Needs to have PageExtensions installed in the current page using PageExtensions#install().
| Constructor Summary | |
|---|---|
RequestInterceptor()
|
|
| Method Summary | |
|---|---|
RequestType |
clearRequestTypeDone()
Clears the request type indicated on the page, gives possibility to intercept subsequent requests. |
RequestType |
getRequestTypeDone()
Obtains the done requestType from page. |
void |
waitForRequestTypeChange()
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 RequestInterceptor()
| Method Detail |
|---|
public RequestType getRequestTypeDone()
IllegalStateException - when the unknown type of request was obtainedpublic RequestType clearRequestTypeDone()
Clears the request type indicated on the page, gives possibility to intercept subsequent requests.
Returns the last RequestType set.
IllegalStateException - when the unknown type of request was obtainedpublic void waitForRequestTypeChange()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||