Skip to content

Commit e6de344

Browse files
authored
Merge pull request #3725 from abelsromero/add-enum-values-to-properties-docs-v4.1.x
Add enum values to JavaDocs to show in docs
2 parents 5b08d91 + 470068b commit e6de344

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 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. */
@@ -302,7 +302,10 @@ public enum PoolType {
302302

303303
public static class Proxy {
304304

305-
/** proxyType for proxy configuration of Netty HttpClient. */
305+
/**
306+
* proxyType for proxy configuration of Netty HttpClient (http, socks4 or
307+
* socks5).
308+
*/
306309
private ProxyProvider.Proxy type = ProxyProvider.Proxy.HTTP;
307310

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

0 commit comments

Comments
 (0)