public class Validator
extends java.lang.Object
| Constructor and Description |
|---|
Validator(org.swisspush.gateleen.core.storage.ResourceStorage storage,
java.lang.String schemaRoot) |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(io.vertx.core.http.HttpServerRequest req,
java.lang.String type,
io.vertx.core.buffer.Buffer jsonBuffer,
io.vertx.core.Handler<org.swisspush.gateleen.core.validation.ValidationResult> callback) |
static org.swisspush.gateleen.core.validation.ValidationResult |
validateStatic(io.vertx.core.buffer.Buffer dataToBeValidated,
java.lang.String schemaAsString,
org.slf4j.Logger log) |
public Validator(org.swisspush.gateleen.core.storage.ResourceStorage storage,
java.lang.String schemaRoot)
public void validate(io.vertx.core.http.HttpServerRequest req,
java.lang.String type,
io.vertx.core.buffer.Buffer jsonBuffer,
io.vertx.core.Handler<org.swisspush.gateleen.core.validation.ValidationResult> callback)
public static org.swisspush.gateleen.core.validation.ValidationResult validateStatic(io.vertx.core.buffer.Buffer dataToBeValidated,
java.lang.String schemaAsString,
org.slf4j.Logger log)