Bumping versions
This commit is contained in:
@@ -70,8 +70,7 @@ public abstract class RetryFilterFunctions {
|
||||
}
|
||||
|
||||
private static boolean isRetryableStatusCode(HttpStatusCode httpStatus, RetryConfig config) {
|
||||
return config.getSeries().stream()
|
||||
.anyMatch(series -> HttpStatus.Series.resolve(httpStatus.value()) == series);
|
||||
return config.getSeries().stream().anyMatch(series -> HttpStatus.Series.resolve(httpStatus.value()) == series);
|
||||
}
|
||||
|
||||
public static class HttpStatusRetryPolicy extends NeverRetryPolicy {
|
||||
|
||||
@@ -30,9 +30,9 @@ import org.springframework.web.server.ServerWebExchange;
|
||||
import static org.springframework.cloud.gateway.support.GatewayToStringStyler.filterToStringCreator;
|
||||
|
||||
/**
|
||||
* This filter blocks the request if the size in Content-Length header value is more than the permissible size.
|
||||
* Has no effect if Content-Length header is missing.
|
||||
* The default request size is 5 MB.
|
||||
* This filter blocks the request if the size in Content-Length header value is more than
|
||||
* the permissible size. Has no effect if Content-Length header is missing. The default
|
||||
* request size is 5 MB.
|
||||
*
|
||||
* @author Arpan
|
||||
*/
|
||||
|
||||
@@ -817,7 +817,8 @@ public class GatewayFilterSpec extends UriSpec {
|
||||
}
|
||||
|
||||
/**
|
||||
* A filter that sets the maximum permissible size of a Content-Length header value in the Request.
|
||||
* A filter that sets the maximum permissible size of a Content-Length header value in
|
||||
* the Request.
|
||||
* @param size the maximum size of a request
|
||||
* @return a {@link GatewayFilterSpec} that can be used to apply additional filters
|
||||
*/
|
||||
@@ -826,7 +827,8 @@ public class GatewayFilterSpec extends UriSpec {
|
||||
}
|
||||
|
||||
/**
|
||||
* A filter that sets the maximum permissible size of a Content-Length header value in the Request.
|
||||
* A filter that sets the maximum permissible size of a Content-Length header value in
|
||||
* the Request.
|
||||
* @param size the maximum size of a request
|
||||
* @return a {@link GatewayFilterSpec} that can be used to apply additional filters
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user