Class ParameterValidationRule


  • public class ParameterValidationRule
    extends Object
    This function is an inner wrapper for ParameterTypeValidator inside ValidationHandler parameter maps. Don't instantiate this class, if you want to add custom ParameterTypeValidator to a parameter use functions in HTTPRequestValidationHandler

    NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

    • Constructor Detail

      • ParameterValidationRule

        public ParameterValidationRule​(io.vertx.ext.web.api.validation.ParameterValidationRule delegate)
      • ParameterValidationRule

        public ParameterValidationRule​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.ext.web.api.validation.ParameterValidationRule getDelegate()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getName

        @Deprecated
        public String getName()
        Deprecated.
        Returns:
        name of the parameter
      • validateSingleParam

        @Deprecated
        public RequestParameter validateSingleParam​(String value)
        Deprecated.
        Parameters:
        value - list of values that will be validated
        Returns:
      • isOptional

        @Deprecated
        public boolean isOptional()
        Deprecated.
        Returns:
        true if is optional, false otherwise
      • allowEmptyValue

        @Deprecated
        public boolean allowEmptyValue()
        Deprecated.
        Returns:
        value of allowEmptyValue
      • newInstance

        public static ParameterValidationRule newInstance​(io.vertx.ext.web.api.validation.ParameterValidationRule arg)