Skip to content

Commit a432d6f

Browse files
authored
Merge pull request #3724 from abelsromero/add-enum-values-to-properties-docs-v4.2.x
Add enum values to JavaDocs to show in docs
2 parents 1e339cf + 105b064 commit a432d6f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/config/HttpClientProperties.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public String toString() {
169169

170170
public static class Pool {
171171

172-
/** Type of pool for HttpClient to use, defaults to ELASTIC. */
172+
/** Type of pool for HttpClient to use (elastic, fixed or disabled). */
173173
private PoolType type = PoolType.ELASTIC;
174174

175175
/** The channel pool map name, defaults to proxy. */
@@ -209,8 +209,8 @@ public static class Pool {
209209
private boolean metrics = false;
210210

211211
/**
212-
* Configures the leasing strategy for the pool, defaults to FIFO which is Netty's
213-
* default.
212+
* Configures the leasing strategy for the pool (fifo or lifo), defaults
213+
* to FIFO which is Netty's default.
214214
*/
215215
private LeasingStrategy leasingStrategy = LeasingStrategy.FIFO;
216216

@@ -331,7 +331,10 @@ public enum LeasingStrategy {
331331

332332
public static class Proxy {
333333

334-
/** proxyType for proxy configuration of Netty HttpClient. */
334+
/**
335+
* proxyType for proxy configuration of Netty HttpClient (http, socks4 or
336+
* socks5).
337+
*/
335338
private ProxyProvider.Proxy type = ProxyProvider.Proxy.HTTP;
336339

337340
/** Hostname for proxy configuration of Netty HttpClient. */

0 commit comments

Comments
 (0)