public class BetweenRoutePredicateFactory extends Object implements RoutePredicateFactory
Modifier and Type | Field and Description |
---|---|
static String |
DATETIME1_KEY |
static String |
DATETIME2_KEY |
PATTERN_KEY
Constructor and Description |
---|
BetweenRoutePredicateFactory() |
Modifier and Type | Method and Description |
---|---|
Predicate<org.springframework.web.server.ServerWebExchange> |
apply(org.springframework.tuple.Tuple args) |
Predicate<org.springframework.web.server.ServerWebExchange> |
apply(ZonedDateTime dateTime1,
ZonedDateTime dateTime2) |
static ZonedDateTime |
getZonedDateTime(Object value) |
static ZonedDateTime |
parseZonedDateTime(String dateString) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
name
argNames, validate, validateArgs, validateMin
public static final String DATETIME1_KEY
public static final String DATETIME2_KEY
public Predicate<org.springframework.web.server.ServerWebExchange> apply(org.springframework.tuple.Tuple args)
apply
in interface RoutePredicateFactory
public Predicate<org.springframework.web.server.ServerWebExchange> apply(ZonedDateTime dateTime1, ZonedDateTime dateTime2)
public static ZonedDateTime getZonedDateTime(Object value)
public static ZonedDateTime parseZonedDateTime(String dateString)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.