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​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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