public enum HAProxyMode extends Enum<HAProxyMode>
| 枚举常量和说明 |
|---|
AUTO
Enabled to using the HAProxy decoding, and we will detect whether the HAProxy protocol is used in the coming new
connection.
|
OFF
Disabled to using the HAProxy decoding.
|
ON
Enabled to using the HAProxy decoding, and we will NOT detect whether the HAProxy protocol is used in the coming
new connection, which means the HAProxy Protocol is required.
|
public static final HAProxyMode ON
public static final HAProxyMode AUTO
public static final HAProxyMode OFF
public static HAProxyMode[] values()
for (HAProxyMode c : HAProxyMode.values()) System.out.println(c);
public static HAProxyMode valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2020. All rights reserved.