public interface RequestPredicate extends java.util.function.Function<RoutingContext,RequestPredicateResult>
Modifier and Type | Field and Description |
---|---|
static RequestPredicate |
BODY_REQUIRED
Request predicate that checks if body exists or not
|
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 |
andThen, apply, compose, identity
static final RequestPredicate BODY_REQUIRED
static RequestPredicate multipartFileUploadExists(String propertyName, String contentTypePattern)
propertyName
and matching contentTypePattern
existspropertyName
- contentTypePattern
- Copyright © 2022 Eclipse. All rights reserved.