|
Ajocado Implementation 1.0.0.Alpha2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.arquillian.ajocado.request.RequestInterceptorImpl
public class RequestInterceptorImpl
Java API for interception of HTTP/XMLHttpRequest requests.
Needs to have PageExtensions installed in the current page using
PageExtensionsImpl.install().
| Constructor Summary | |
|---|---|
RequestInterceptorImpl()
|
|
| 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 RequestInterceptorImpl()
| Method Detail |
|---|
public RequestType getRequestTypeDone()
getRequestTypeDone in interface RequestInterceptorIllegalStateException - 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.
clearRequestTypeDone in interface RequestInterceptorIllegalStateException - when the unknown type of request was obtainedpublic void waitForRequestTypeChange()
waitForRequestTypeChange in interface RequestInterceptor
|
Ajocado Implementation 1.0.0.Alpha2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||