public enum ProxyProtocol extends Enum<ProxyProtocol>
ClientBuilder::proxyServiceUrl
.枚举常量和说明 |
---|
SNI
Follows SNI-routing
https://docs.trafficserver.apache.org/en/latest/admin-guide/layer-4-routing.en.html#sni-routing.
|
public static final ProxyProtocol SNI
public static ProxyProtocol[] values()
for (ProxyProtocol c : ProxyProtocol.values()) System.out.println(c);
public static ProxyProtocol valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值Copyright © 2017–2020 Apache Software Foundation. All rights reserved.