Class RequestPredicate
java.lang.Object
io.vertx.mutiny.ext.web.validation.RequestPredicate
- All Implemented Interfaces:
MutinyDelegate
,Function<RoutingContext,
RequestPredicateResult>
public class RequestPredicate
extends Object
implements MutinyDelegate, Function<RoutingContext,RequestPredicateResult>
Request predicate
NOTE: This class has been automatically generated from the
original
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TypeArg<RequestPredicate>
static final RequestPredicate
Request predicate that checks if body exists or not -
Constructor Summary
ConstructorsConstructorDescriptionRequestPredicate
(io.vertx.ext.web.validation.RequestPredicate delegate) RequestPredicate
(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionapply
(RoutingContext in) boolean
io.vertx.ext.web.validation.RequestPredicate
int
hashCode()
static RequestPredicate
multipartFileUploadExists
(String propertyName, String contentTypePattern) static RequestPredicate
newInstance
(io.vertx.ext.web.validation.RequestPredicate arg) toString()
-
Field Details
-
__TYPE_ARG
-
BODY_REQUIRED
Request predicate that checks if body exists or not
-
-
Constructor Details
-
RequestPredicate
public RequestPredicate(io.vertx.ext.web.validation.RequestPredicate delegate) -
RequestPredicate
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.validation.RequestPredicate getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
apply
- Specified by:
apply
in interfaceFunction<RoutingContext,
RequestPredicateResult>
-
multipartFileUploadExists
public static RequestPredicate multipartFileUploadExists(String propertyName, String contentTypePattern) - Parameters:
propertyName
-contentTypePattern
-- Returns:
-
newInstance
-