Class RetryGatewayFilterFactory.RetryConfig
- java.lang.Object
-
- org.springframework.cloud.gateway.filter.factory.RetryGatewayFilterFactory.RetryConfig
-
- All Implemented Interfaces:
HasRouteId
- Enclosing class:
- RetryGatewayFilterFactory
public static class RetryGatewayFilterFactory.RetryConfig extends Object implements HasRouteId
-
-
Constructor Summary
Constructors Constructor Description RetryConfig()
-
Method Summary
-
-
-
Method Detail
-
allMethods
public RetryGatewayFilterFactory.RetryConfig allMethods()
-
validate
public void validate()
-
getBackoff
public RetryGatewayFilterFactory.BackoffConfig getBackoff()
-
setBackoff
public RetryGatewayFilterFactory.RetryConfig setBackoff(RetryGatewayFilterFactory.BackoffConfig backoff)
-
setBackoff
public RetryGatewayFilterFactory.RetryConfig setBackoff(Duration firstBackoff, Duration maxBackoff, int factor, boolean basedOnPreviousValue)
-
setRouteId
public void setRouteId(String routeId)
- Specified by:
setRouteId
in interfaceHasRouteId
-
getRouteId
public String getRouteId()
- Specified by:
getRouteId
in interfaceHasRouteId
-
getRetries
public int getRetries()
-
setRetries
public RetryGatewayFilterFactory.RetryConfig setRetries(int retries)
-
getSeries
public List<org.springframework.http.HttpStatus.Series> getSeries()
-
setSeries
public RetryGatewayFilterFactory.RetryConfig setSeries(org.springframework.http.HttpStatus.Series... series)
-
getStatuses
public List<org.springframework.http.HttpStatus> getStatuses()
-
setStatuses
public RetryGatewayFilterFactory.RetryConfig setStatuses(org.springframework.http.HttpStatus... statuses)
-
getMethods
public List<org.springframework.http.HttpMethod> getMethods()
-
setMethods
public RetryGatewayFilterFactory.RetryConfig setMethods(org.springframework.http.HttpMethod... methods)
-
setExceptions
public RetryGatewayFilterFactory.RetryConfig setExceptions(Class<? extends Throwable>... exceptions)
-
-