public static class RetryGatewayFilterFactory.RetryConfig extends Object implements HasRouteId
| Constructor and Description |
|---|
RetryConfig() |
public RetryGatewayFilterFactory.RetryConfig allMethods()
public void validate()
public RetryGatewayFilterFactory.BackoffConfig getBackoff()
public RetryGatewayFilterFactory.RetryConfig setBackoff(RetryGatewayFilterFactory.BackoffConfig backoff)
public RetryGatewayFilterFactory.RetryConfig setBackoff(Duration firstBackoff, Duration maxBackoff, int factor, boolean basedOnPreviousValue)
public void setRouteId(String routeId)
setRouteId in interface HasRouteIdpublic String getRouteId()
getRouteId in interface HasRouteIdpublic int getRetries()
public RetryGatewayFilterFactory.RetryConfig setRetries(int retries)
public List<org.springframework.http.HttpStatus.Series> getSeries()
public RetryGatewayFilterFactory.RetryConfig setSeries(org.springframework.http.HttpStatus.Series... series)
public List<org.springframework.http.HttpStatus> getStatuses()
public RetryGatewayFilterFactory.RetryConfig setStatuses(org.springframework.http.HttpStatus... statuses)
public List<org.springframework.http.HttpMethod> getMethods()
public RetryGatewayFilterFactory.RetryConfig setMethods(org.springframework.http.HttpMethod... methods)
public RetryGatewayFilterFactory.RetryConfig setExceptions(Class<? extends Throwable>... exceptions)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.