public class RequestPredicate extends Object implements java.util.function.Function<RoutingContext,RequestPredicateResult>
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<RequestPredicate> |
__TYPE_ARG |
static RequestPredicate |
BODY_REQUIRED
Request predicate that checks if body exists or not
|
Constructor and Description |
---|
RequestPredicate(Object delegate) |
RequestPredicate(RequestPredicate delegate) |
Modifier and Type | Method and Description |
---|---|
RequestPredicateResult |
apply(RoutingContext in) |
boolean |
equals(Object o) |
RequestPredicate |
getDelegate() |
int |
hashCode() |
static RequestPredicate |
multipartFileUploadExists(String propertyName,
String contentTypePattern)
Generate request predicate that checks if a particular multipart file upload with
propertyName and matching contentTypePattern exists |
static RequestPredicate |
newInstance(RequestPredicate arg) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
andThen, compose, identity
public static final io.vertx.lang.rx.TypeArg<RequestPredicate> __TYPE_ARG
public static final RequestPredicate BODY_REQUIRED
public RequestPredicate(RequestPredicate delegate)
public RequestPredicate(Object delegate)
public RequestPredicateResult apply(RoutingContext in)
apply
in interface java.util.function.Function<RoutingContext,RequestPredicateResult>
public RequestPredicate getDelegate()
public static RequestPredicate multipartFileUploadExists(String propertyName, String contentTypePattern)
propertyName
and matching contentTypePattern
existspropertyName
- contentTypePattern
- public static RequestPredicate newInstance(RequestPredicate arg)
Copyright © 2021 Eclipse. All rights reserved.