RequestPredicate that implement various useful
request matching operations, such as matching based on path, HTTP method, etc.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | RequestPredicates.
|
| private abstract static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| pack-priv static class | RequestPredicates.
|
| private static class | |
| pack-priv static class | RequestPredicates.
|
| private static class | |
| private static class | |
| private static class | |
| private abstract static class | RequestPredicates.
Extension of |
| private static class | |
| private static class | |
| private static class | |
| public static interface | RequestPredicates.
Receives notifications from the logical structure of request predicates. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static RequestPredicate | Returns: a predicate that tests the request's accept header against the given media typesthe media types to match the request's accept header against mediaTypes)Return a |
| public static RequestPredicate | |
| public static RequestPredicate | Returns: a predicate that tests the request's content type against the given media typesthe media types to match the request's content type against mediaTypes)Return a |
| public static RequestPredicate | Returns: a predicate that matches if the request method is DELETE and if the given pattern matches against the request paththe path pattern to match against pattern)Return a |
| public static RequestPredicate | |
| public static RequestPredicate | Returns: a predicate that matches if the request method is HEAD and if the given pattern matches against the request paththe path pattern to match against pattern)Return a |
| public static RequestPredicate | Returns: a predicate that tests against the given header predicatea predicate that tests against the request headers headersPredicateReturn a |
| private static <K, V> Map | |
| private static PathPattern | |
| public static RequestPredicate | Returns: a predicate that tests against the given HTTP methodthe HTTP method to match against httpMethod)Return a |
| public static RequestPredicate | Returns: a predicate that tests against the given HTTP methodsthe HTTP methods to match against httpMethods)Return a |
| public static RequestPredicate | Returns: a predicate that matches if the request method is OPTIONS and if the given pattern matches against the request paththe path pattern to match against pattern)Return a |
| public static RequestPredicate | |
| public static RequestPredicate | Returns: a predicate that matches the given predicate against the parameter of the given namethe name of the parameter to test against name, Predicate<String> the predicate to test against the parameter value predicate)Return a |
| public static RequestPredicate | Returns: a predicate that matches if the request method is PATCH and if the given pattern matches against the request paththe path pattern to match against pattern)Return a |
| public static RequestPredicate | |
| public static RequestPredicate | Returns: a predicate that matches if the request's path has the given file extensionthe path extension to match against, ignoring case extension)Return a |
| public static RequestPredicate | Returns: a predicate that matches if the given predicate matches against the request's path file extensionthe predicate to test against the request path extension extensionPredicate)Return a |
| public static Function | Returns: a function that resolves a pattern String into a path-matchingRequestPredicates instancethe parser used to parse patterns given to the returned function patternParser)Return a function that creates new path-matching |
| public static RequestPredicate | Returns: a predicate that matches if the request method is POST and if the given pattern matches against the request paththe path pattern to match against pattern)Return a |
| public static RequestPredicate | |
| private static void |