Package kong.unirest.core
Class MatchStatus
java.lang.Object
kong.unirest.core.MatchStatus
Indicates a successful match and a description of the failure (if any)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
isSuccess
private final boolean isSuccess -
description
-
-
Constructor Details
-
MatchStatus
Contruct a Match status- Parameters:
isSuccess
- indicates successdescription
- a failure description
-
-
Method Details
-
isSuccess
public boolean isSuccess()- Returns:
- Was it successful or not?
-
getDescription
- Returns:
- a description of the failure (if any) or null
-