Class ValidationUtil


  • public final class ValidationUtil
    extends Object
    Utility class providing functions for working with ValidationResource and SchemaLocation
    Author:
    https://github.com/mcweba [Marc-Andre Weber]
    • Method Detail

      • matchingValidationResourceEntry

        public static Map<String,​String> matchingValidationResourceEntry​(ValidationResource validationResource,
                                                                               io.vertx.core.http.HttpServerRequest request,
                                                                               org.slf4j.Logger log)
        Get values of matching ValidationResource for provided HttpServerRequest
        Parameters:
        validationResource - the ValidationResource holding the configuration values
        request - the HttpServerRequest to lookup
        log - the Logger
        Returns:
        a Map holding the corresponding configuration values or null