Class RequestPredicateResult

java.lang.Object
io.vertx.mutiny.ext.web.validation.RequestPredicateResult
All Implemented Interfaces:
MutinyDelegate

public class RequestPredicateResult extends Object implements MutinyDelegate
Result of a RequestPredicate

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

See Also:
  • RequestPredicateResult
  • Field Details

  • Constructor Details

    • RequestPredicateResult

      public RequestPredicateResult(io.vertx.ext.web.validation.RequestPredicateResult delegate)
      Create a new instance of RequestPredicateResult delegating to the given (non-null) instance of RequestPredicateResult.
    • RequestPredicateResult

      public RequestPredicateResult(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.ext.web.validation.RequestPredicateResult getDelegate()
      Get the delegate instance.

      This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.

      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate instance
    • succeeded

      public boolean succeeded()
      Predicate succeeded
      Returns:
    • getErrorMessage

      public String getErrorMessage()
      Get error of failure
      Returns:
    • success

      public static RequestPredicateResult success()
    • failed

      public static RequestPredicateResult failed(String message)
    • newInstance

      public static RequestPredicateResult newInstance(io.vertx.ext.web.validation.RequestPredicateResult delegate)
      Creates a new instance of the RequestPredicateResult.
    • hashCode

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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object