Class CustomValidator


  • public class CustomValidator
    extends Object
    This interface is used to add custom synchronous functions inside validation process. You can add it in HTTPRequestValidationHandler.

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

    • Constructor Detail

      • CustomValidator

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

        public CustomValidator​(Object delegate)
    • Method Detail

      • hashCode

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

        public io.vertx.ext.web.api.validation.CustomValidator getDelegate()
      • validate

        @Deprecated
        public void validate​(RoutingContext routingContext)
        Deprecated.
        This function have to be synchronous. It doesn't return nothing if validation succedes, otherwise it throws ValidationException.
        Don't call routingContext.next() or routingContext.fail() from this function
        Parameters:
        routingContext - the actual routing context
      • newInstance

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