Add enum values to JavaDocs to show in docs

Signed-off-by: Abel Salgado Romero <abel.salgado@broadcom.com>
This commit is contained in:
Abel Salgado Romero
2025-03-14 10:16:32 +01:00
parent b56664e73a
commit 105b0649b4

View File

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