public class HeaderRoutePredicateFactory extends AbstractRoutePredicateFactory<HeaderRoutePredicateFactory.Config>
| Modifier and Type | Class and Description |
|---|---|
static class |
HeaderRoutePredicateFactory.Config |
ShortcutConfigurable.ShortcutType| Modifier and Type | Field and Description |
|---|---|
static String |
HEADER_KEY
Header key.
|
static String |
REGEXP_KEY
Regexp key.
|
PATTERN_KEY| Constructor and Description |
|---|
HeaderRoutePredicateFactory() |
| Modifier and Type | Method and Description |
|---|---|
Predicate<org.springframework.web.server.ServerWebExchange> |
apply(HeaderRoutePredicateFactory.Config config) |
List<String> |
shortcutFieldOrder()
Returns hints about the number of args and the order for shortcut parsing.
|
getConfigClass, newConfig, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapply, applyAsync, applyAsync, beforeApply, getConfigClass, name, newConfiggetValue, normalizeKey, shortcutFieldPrefix, shortcutTypepublic static final String HEADER_KEY
public static final String REGEXP_KEY
public List<String> shortcutFieldOrder()
ShortcutConfigurablepublic Predicate<org.springframework.web.server.ServerWebExchange> apply(HeaderRoutePredicateFactory.Config config)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.