Class RequestPredicate
- java.lang.Object
-
- io.vertx.mutiny.ext.web.validation.RequestPredicate
-
- All Implemented Interfaces:
Function<RoutingContext,RequestPredicateResult>
public class RequestPredicate extends Object implements Function<RoutingContext,RequestPredicateResult>
Request predicate NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<RequestPredicate>
__TYPE_ARG
static RequestPredicate
BODY_REQUIRED
Request predicate that checks if body exists or not
-
Constructor Summary
Constructors Constructor Description RequestPredicate(io.vertx.ext.web.validation.RequestPredicate delegate)
RequestPredicate(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestPredicateResult
apply(RoutingContext in)
boolean
equals(Object o)
io.vertx.ext.web.validation.RequestPredicate
getDelegate()
int
hashCode()
static RequestPredicate
multipartFileUploadExists(String propertyName, String contentTypePattern)
static RequestPredicate
newInstance(io.vertx.ext.web.validation.RequestPredicate arg)
String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<RequestPredicate> __TYPE_ARG
-
BODY_REQUIRED
public static final RequestPredicate BODY_REQUIRED
Request predicate that checks if body exists or not
-
-
Constructor Detail
-
RequestPredicate
public RequestPredicate(io.vertx.ext.web.validation.RequestPredicate delegate)
-
RequestPredicate
public RequestPredicate(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.web.validation.RequestPredicate getDelegate()
-
apply
public RequestPredicateResult apply(RoutingContext in)
- Specified by:
apply
in interfaceFunction<RoutingContext,RequestPredicateResult>
-
multipartFileUploadExists
public static RequestPredicate multipartFileUploadExists(String propertyName, String contentTypePattern)
- Parameters:
propertyName
-contentTypePattern
-- Returns:
-
newInstance
public static RequestPredicate newInstance(io.vertx.ext.web.validation.RequestPredicate arg)
-
-