Package io.vertx.ext.web.validation

## Interface RequestPredicate

- All Superinterfaces:
    `Function<RoutingContext,​RequestPredicateResult>`

      public interface RequestPredicate
      extends Function<RoutingContext,​RequestPredicateResult>

  Request predicate

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static RequestPredicate` | `BODY_REQUIRED` | Request predicate that checks if body exists or not

  - ### Method Summary

    Static Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static RequestPredicate` | `multipartFileUploadExists​(String propertyName, String contentTypePattern)` | Generate request predicate that checks if a particular multipart file upload with `propertyName` and matching `contentTypePattern` exists

    - ### Methods inherited from interface java.util.function.Function

      `andThen, apply, compose`

- - ### Field Detail

    - #### BODY_REQUIRED

          static final RequestPredicate BODY_REQUIRED

      Request predicate that checks if body exists or not

  - ### Method Detail

    - #### multipartFileUploadExists

          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: