All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jetdrone.vertx.yoke.util.validation.Assertion Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
package com.jetdrone.vertx.yoke.util.validation;

import com.jetdrone.vertx.yoke.core.YokeException;
import com.jetdrone.vertx.yoke.middleware.YokeRequest;

public abstract class Assertion {

    public final int errorCode;

    public Assertion() {
        this(400);
    }

    public Assertion(int code) {
        this.errorCode = code;
    }

    public abstract void ok(YokeRequest request) throws YokeException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy