From 715a5fe52fe571d609522d2cb9484dde52c4573a Mon Sep 17 00:00:00 2001 From: Abel Salgado Romero Date: Fri, 24 Jan 2025 09:34:17 +0100 Subject: [PATCH] Add enum values to JavaDocs to show in docs Signed-off-by: Abel Salgado Romero --- .../cloud/gateway/config/HttpClientProperties.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/config/HttpClientProperties.java b/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/config/HttpClientProperties.java index b318a4cc49..e8df7eaf28 100644 --- a/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/config/HttpClientProperties.java +++ b/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/config/HttpClientProperties.java @@ -169,7 +169,7 @@ public String toString() { public static class Pool { - /** Type of pool for HttpClient to use, defaults to ELASTIC. */ + /** Type of pool for HttpClient to use (elastic, fixed or disabled). */ private PoolType type = PoolType.ELASTIC; /** The channel pool map name, defaults to proxy. */ @@ -209,8 +209,8 @@ public static class Pool { private boolean metrics = false; /** - * Configures the leasing strategy for the pool, defaults to FIFO which is Netty's - * default. + * Configures the leasing strategy for the pool (fifo or lifo), defaults + * to FIFO which is Netty's default. */ private LeasingStrategy leasingStrategy = LeasingStrategy.FIFO; @@ -331,7 +331,10 @@ public enum LeasingStrategy { public static class Proxy { - /** proxyType for proxy configuration of Netty HttpClient. */ + /** + * proxyType for proxy configuration of Netty HttpClient (http, socks4 or + * socks5). + */ private ProxyProvider.Proxy type = ProxyProvider.Proxy.HTTP; /** Hostname for proxy configuration of Netty HttpClient. */