io.vertx.ext.web.validation

## Interface RequestPredicate

- All Superinterfaces:
    java.util.function.Function<RoutingContext,RequestPredicateResult>

      public interface RequestPredicate
      extends java.util.function.Function<RoutingContext,RequestPredicateResult>

  Request predicate

- - ### Field Summary

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

  - ### Method Summary

    All Methods Static Methods Default Methods
    Modifier and Type | Method and 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, identity`

- - ### 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:

Copyright © 2022 Eclipse. All rights reserved.