|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.sling.testing.tools.http.RetryingContentChecker
public class RetryingContentChecker
Retry a GET on an URL until it returns 200 or until this times out.
| Constructor Summary | |
|---|---|
RetryingContentChecker(RequestExecutor executor,
RequestBuilder builder)
|
|
| Method Summary | |
|---|---|
protected boolean |
assertMore(RequestExecutor executor)
Optionally perform additional tests in retry condition |
void |
check(java.lang.String path,
int expectedStatus,
int timeoutSeconds,
int intervalBetweenrequestsMsec)
Check specified path for expected status, or timeout |
protected void |
onTimeout()
Called if a timeout occurs |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RetryingContentChecker(RequestExecutor executor,
RequestBuilder builder)
| Method Detail |
|---|
public void check(java.lang.String path,
int expectedStatus,
int timeoutSeconds,
int intervalBetweenrequestsMsec)
protected boolean assertMore(RequestExecutor executor)
throws java.lang.Exception
java.lang.Exceptionprotected void onTimeout()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||