Class StatusCondition
- java.lang.Object
-
- org.eclipse.steady.backend.requests.StatusCondition
-
- All Implemented Interfaces:
Serializable,ResponseCondition
public class StatusCondition extends Object implements ResponseCondition
StatusCondition class.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StatusCondition(int _status)Constructor for StatusCondition.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmeetsCondition(HttpResponse _response)Returns true of theHttpResponsemeets the condition, false otherwise.StringtoString()toString.
-
-
-
Method Detail
-
meetsCondition
public boolean meetsCondition(HttpResponse _response)
Returns true of theHttpResponsemeets the condition, false otherwise. Returns true if the HTTP status of the givenHttpResponseequals the status of the condition, false otherwise.- Specified by:
meetsConditionin interfaceResponseCondition- Parameters:
_response- aHttpResponseobject.- Returns:
- a boolean.
-
-