Class RequestPredicate

java.lang.Object
io.vertx.mutiny.ext.web.validation.RequestPredicate
All Implemented Interfaces:
MutinyDelegate, Function<RoutingContext,RequestPredicateResult>

public class RequestPredicate extends Object implements Function<RoutingContext,RequestPredicateResult>, MutinyDelegate
Request predicate

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

See Also:
  • RequestPredicate
  • Field Details

  • Constructor Details

    • RequestPredicate

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

      public RequestPredicate(Object delegate)
  • Method Details

    • apply

      Specified by:
      apply in interface Function<RoutingContext,RequestPredicateResult>
    • getDelegate

      public io.vertx.ext.web.validation.RequestPredicate 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
    • multipartFileUploadExists

      public static RequestPredicate multipartFileUploadExists(String propertyName, String contentTypePattern)
      Generate request predicate that checks if a particular multipart file upload with propertyName and matching contentTypePattern exists
      Parameters:
      propertyName -
      contentTypePattern -
      Returns:
    • newInstance

      public static RequestPredicate newInstance(io.vertx.ext.web.validation.RequestPredicate delegate)
      Creates a new instance of the RequestPredicate.
    • 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