|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.eclipsesource.restfuse.internal.poll.PollStateImpl
public class PollStateImpl
Constructor Summary | |
---|---|
PollStateImpl()
|
Method Summary | |
---|---|
void |
abort()
Aborts a poll series. |
Response |
getResponse(int attempt)
Returns a single response for a specific request attempt with a poll series. |
java.util.List<Response> |
getResponses()
Returns all responses that were received during the poll series. |
int |
getTimes()
Returns the number of the last request attempt. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PollStateImpl()
Method Detail |
---|
public void abort()
PollState
Aborts a poll series. After this method was called JUnit will continue with the next test method.
abort
in interface PollState
public Response getResponse(int attempt) throws java.lang.IllegalArgumentException
PollState
Returns a single response for a specific request attempt with a poll series.
getResponse
in interface PollState
java.lang.IllegalArgumentException
public java.util.List<Response> getResponses()
PollState
Returns all responses that were received during the poll series.
getResponses
in interface PollState
public int getTimes()
PollState
Returns the number of the last request attempt. It can be used to get the current response
when it will be passed to the
method.PollState.getResponse(int)
getTimes
in interface PollState
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |