Package io.vertx.up.uca.rs.regular
Interface Ruler
-
- All Known Implementing Classes:
BaseRuler
public interface Ruler
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static Rulerget(String type)io.vertx.up.exception.WebExceptionverify(String field, Object value, Rule rule)Verify each field for @BodyParamstatic io.vertx.up.exception.WebExceptionverify(Collection<Rule> rules, String field, Object value)
-
-
-
Method Detail
-
verify
static io.vertx.up.exception.WebException verify(Collection<Rule> rules, String field, Object value)
-
verify
io.vertx.up.exception.WebException verify(String field, Object value, Rule rule)
Verify each field for @BodyParam- Parameters:
field- Input field of the data structurevalue- The input field reflect value literalrule- The rule that has been defined.- Returns:
- WebException that the validated error here.
-
-