Bumping versions

This commit is contained in:
buildmaster
2023-11-04 12:10:28 +00:00
parent d0f8dd4f27
commit 2f39ba705d
3 changed files with 8 additions and 7 deletions

View File

@@ -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 {

View File

@@ -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
*/

View File

@@ -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
*/