public class HystrixGatewayFilterFactory extends Object implements GatewayFilterFactory
Modifier and Type | Field and Description |
---|---|
static String |
FALLBACK_URI |
NAME_KEY, VALUE_KEY
Constructor and Description |
---|
HystrixGatewayFilterFactory(org.springframework.web.reactive.DispatcherHandler dispatcherHandler) |
Modifier and Type | Method and Description |
---|---|
GatewayFilter |
apply(com.netflix.hystrix.HystrixObservableCommand.Setter setter) |
GatewayFilter |
apply(com.netflix.hystrix.HystrixObservableCommand.Setter setter,
URI fallbackUri) |
GatewayFilter |
apply(String commandName) |
GatewayFilter |
apply(String commandName,
URI fallbackUri) |
GatewayFilter |
apply(org.springframework.tuple.Tuple args) |
List<String> |
argNames()
Returns hints about the number of args and the order for shortcut parsing.
|
boolean |
validateArgs()
Validate supplied argument size against
ArgumentHints.argNames() size. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
mutate, name
validate, validateMin
public static final String FALLBACK_URI
public HystrixGatewayFilterFactory(org.springframework.web.reactive.DispatcherHandler dispatcherHandler)
public List<String> argNames()
ArgumentHints
argNames
in interface ArgumentHints
public boolean validateArgs()
ArgumentHints
ArgumentHints.argNames()
size.
Useful for variable arg predicates.validateArgs
in interface ArgumentHints
public GatewayFilter apply(org.springframework.tuple.Tuple args)
apply
in interface GatewayFilterFactory
public GatewayFilter apply(String commandName)
public GatewayFilter apply(String commandName, URI fallbackUri)
public GatewayFilter apply(com.netflix.hystrix.HystrixObservableCommand.Setter setter)
public GatewayFilter apply(com.netflix.hystrix.HystrixObservableCommand.Setter setter, URI fallbackUri)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.