public class RequestPropertyFilter extends Object
| Constructor and Description |
|---|
RequestPropertyFilter() |
| Modifier and Type | Method and Description |
|---|---|
static FilterResult |
filterProperty(io.vertx.core.http.HttpServerRequest request,
String filterPropertyKey,
String filterPropertyValue,
boolean reject)
Check the provided request against the filterProperty values (key, value) and return a
FilterResult defining
whether to filterProperty the request or not. |
public static final String URL
public static final String METHOD
public static FilterResult filterProperty(io.vertx.core.http.HttpServerRequest request, String filterPropertyKey, String filterPropertyValue, boolean reject)
FilterResult defining
whether to filterProperty the request or not.request - the request to be checked to filterProperty or notfilterPropertyKey - the key of the filterProperty e.g. url, methodfilterPropertyValue - the value of the filterPropertyreject - boolean value from the filterProperty entry called "reject"FilterResult for the provided requestCopyright © 2016–2020. All rights reserved.