Package io.vertx.ext.web.validation
Interface RequestPredicateResult
-
public interface RequestPredicateResult
Result of aRequestPredicate
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static RequestPredicateResult
failed(String message)
String
getErrorMessage()
Get error of failureboolean
succeeded()
Predicate succeededstatic RequestPredicateResult
success()
-
-
-
Method Detail
-
succeeded
boolean succeeded()
Predicate succeeded- Returns:
-
getErrorMessage
String getErrorMessage()
Get error of failure- Returns:
-
success
static RequestPredicateResult success()
-
failed
static RequestPredicateResult failed(String message)
-
-