public class Validator extends Object
| Constructor and Description |
|---|
Validator(ResourceStorage storage,
String schemaRoot) |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(io.vertx.core.http.HttpServerRequest req,
String type,
io.vertx.core.buffer.Buffer jsonBuffer,
io.vertx.core.Handler<ValidationResult> callback) |
static ValidationResult |
validateStatic(io.vertx.core.buffer.Buffer dataToBeValidated,
String schemaAsString,
org.slf4j.Logger log) |
public Validator(ResourceStorage storage, String schemaRoot)
public void validate(io.vertx.core.http.HttpServerRequest req,
String type,
io.vertx.core.buffer.Buffer jsonBuffer,
io.vertx.core.Handler<ValidationResult> callback)
public static ValidationResult validateStatic(io.vertx.core.buffer.Buffer dataToBeValidated, String schemaAsString, org.slf4j.Logger log)
Copyright © 2016–2020. All rights reserved.