Interface RequestPredicate

All Superinterfaces:
Function<RoutingContext, RequestPredicateResult>

public interface RequestPredicate extends Function<RoutingContext, RequestPredicateResult>
Request predicate
  • Field Details

    • BODY_REQUIRED

      static final RequestPredicate BODY_REQUIRED
      Request predicate that checks if body exists or not
  • Method Details

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