From 105b0649b43c7edf7d2d1180fa4b772477ab3f57 Mon Sep 17 00:00:00 2001 From: Abel Salgado Romero Date: Fri, 14 Mar 2025 10:16:32 +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 b318a4cc..e8df7eaf 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 class HttpClientProperties { 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 class HttpClientProperties { 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 class HttpClientProperties { 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. */