public class RequestPropertyFilter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
METHOD |
static java.lang.String |
URL |
| Constructor and Description |
|---|
RequestPropertyFilter() |
| Modifier and Type | Method and Description |
|---|---|
static FilterResult |
filterProperty(io.vertx.core.http.HttpServerRequest request,
java.lang.String filterPropertyKey,
java.lang.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 java.lang.String URL
public static final java.lang.String METHOD
public static FilterResult filterProperty(io.vertx.core.http.HttpServerRequest request, java.lang.String filterPropertyKey, java.lang.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 request