Class RequestPredicate
- java.lang.Object
- 
- io.vertx.reactivex.ext.web.validation.RequestPredicate
 
- 
- All Implemented Interfaces:
- io.vertx.lang.rx.RxDelegate,- Function<RoutingContext,RequestPredicateResult>
 
 public class RequestPredicate extends Object implements io.vertx.lang.rx.RxDelegate, Function<RoutingContext,RequestPredicateResult> Request predicateNOTE: This class has been automatically generated from the originalnon RX-ified interface using Vert.x codegen.
- 
- 
Field SummaryFields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<RequestPredicate>__TYPE_ARGstatic RequestPredicateBODY_REQUIREDRequest predicate that checks if body exists or not
 - 
Constructor SummaryConstructors Constructor Description RequestPredicate(RequestPredicate delegate)RequestPredicate(Object delegate)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestPredicateResultapply(RoutingContext in)booleanequals(Object o)RequestPredicategetDelegate()inthashCode()static RequestPredicatemultipartFileUploadExists(String propertyName, String contentTypePattern)Generate request predicate that checks if a particular multipart file upload withpropertyNameand matchingcontentTypePatternexistsstatic RequestPredicatenewInstance(RequestPredicate arg)StringtoString()
 
- 
- 
- 
Field Detail- 
__TYPE_ARGpublic static final io.vertx.lang.rx.TypeArg<RequestPredicate> __TYPE_ARG 
 - 
BODY_REQUIREDpublic static final RequestPredicate BODY_REQUIRED Request predicate that checks if body exists or not
 
- 
 - 
Constructor Detail- 
RequestPredicatepublic RequestPredicate(RequestPredicate delegate) 
 - 
RequestPredicatepublic RequestPredicate(Object delegate) 
 
- 
 - 
Method Detail- 
applypublic RequestPredicateResult apply(RoutingContext in) - Specified by:
- applyin interface- Function<RoutingContext,RequestPredicateResult>
 
 - 
getDelegatepublic RequestPredicate getDelegate() - Specified by:
- getDelegatein interface- io.vertx.lang.rx.RxDelegate
 
 - 
multipartFileUploadExistspublic static RequestPredicate multipartFileUploadExists(String propertyName, String contentTypePattern) Generate request predicate that checks if a particular multipart file upload withpropertyNameand matchingcontentTypePatternexists- Parameters:
- propertyName-
- contentTypePattern-
- Returns:
 
 - 
newInstancepublic static RequestPredicate newInstance(RequestPredicate arg) 
 
- 
 
-