Interface ProxyProtocolOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProxyProtocol,ProxyProtocol.Builder
public interface ProxyProtocolOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetAllowRequestsWithoutProxyProtocol()Allow requests through that don't use proxy protocol.ProxyProtocol.RulegetRules(int index)The list of rules to apply to requests.intgetRulesCount()The list of rules to apply to requests.List<ProxyProtocol.Rule>getRulesList()The list of rules to apply to requests.ProxyProtocol.RuleOrBuildergetRulesOrBuilder(int index)The list of rules to apply to requests.List<? extends ProxyProtocol.RuleOrBuilder>getRulesOrBuilderList()The list of rules to apply to requests.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getRulesList
List<ProxyProtocol.Rule> getRulesList()
The list of rules to apply to requests.
repeated .envoy.extensions.filters.listener.proxy_protocol.v3.ProxyProtocol.Rule rules = 1;
-
getRules
ProxyProtocol.Rule getRules(int index)
The list of rules to apply to requests.
repeated .envoy.extensions.filters.listener.proxy_protocol.v3.ProxyProtocol.Rule rules = 1;
-
getRulesCount
int getRulesCount()
The list of rules to apply to requests.
repeated .envoy.extensions.filters.listener.proxy_protocol.v3.ProxyProtocol.Rule rules = 1;
-
getRulesOrBuilderList
List<? extends ProxyProtocol.RuleOrBuilder> getRulesOrBuilderList()
The list of rules to apply to requests.
repeated .envoy.extensions.filters.listener.proxy_protocol.v3.ProxyProtocol.Rule rules = 1;
-
getRulesOrBuilder
ProxyProtocol.RuleOrBuilder getRulesOrBuilder(int index)
The list of rules to apply to requests.
repeated .envoy.extensions.filters.listener.proxy_protocol.v3.ProxyProtocol.Rule rules = 1;
-
getAllowRequestsWithoutProxyProtocol
boolean getAllowRequestsWithoutProxyProtocol()
Allow requests through that don't use proxy protocol. Defaults to false. .. attention:: This breaks conformance with the specification. Only enable if ALL traffic to the listener comes from a trusted source. For more information on the security implications of this feature, see https://www.haproxy.org/download/2.1/doc/proxy-protocol.txt .. attention:: Requests of 12 or fewer bytes that match the proxy protocol v2 signature and requests of 6 or fewer bytes that match the proxy protocol v1 signature will timeout (Envoy is unable to differentiate these requests from incomplete proxy protocol requests).
bool allow_requests_without_proxy_protocol = 2;- Returns:
- The allowRequestsWithoutProxyProtocol.
-
-