public interface RouteMatchOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
HeaderMatcher |
getHeaders(int index)
Specifies a set of headers that the route should match on.
|
int |
getHeadersCount()
Specifies a set of headers that the route should match on.
|
List<HeaderMatcher> |
getHeadersList()
Specifies a set of headers that the route should match on.
|
HeaderMatcherOrBuilder |
getHeadersOrBuilder(int index)
Specifies a set of headers that the route should match on.
|
List<? extends HeaderMatcherOrBuilder> |
getHeadersOrBuilderList()
Specifies a set of headers that the route should match on.
|
boolean |
getInvert()
Inverts whatever matching is done in the :ref:`method_name
<envoy_api_field_extensions.filters.network.thrift_proxy.v3.RouteMatch.method_name>` or
:ref:`service_name
<envoy_api_field_extensions.filters.network.thrift_proxy.v3.RouteMatch.service_name>` fields.
|
RouteMatch.MatchSpecifierCase |
getMatchSpecifierCase() |
String |
getMethodName()
If specified, the route must exactly match the request method name.
|
com.google.protobuf.ByteString |
getMethodNameBytes()
If specified, the route must exactly match the request method name.
|
String |
getServiceName()
If specified, the route must have the service name as the request method name prefix.
|
com.google.protobuf.ByteString |
getServiceNameBytes()
If specified, the route must have the service name as the request method name prefix.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getMethodName()
If specified, the route must exactly match the request method name. As a special case, an empty string matches any request method name.
string method_name = 1;com.google.protobuf.ByteString getMethodNameBytes()
If specified, the route must exactly match the request method name. As a special case, an empty string matches any request method name.
string method_name = 1;String getServiceName()
If specified, the route must have the service name as the request method name prefix. As a special case, an empty string matches any service name. Only relevant when service multiplexing.
string service_name = 2;com.google.protobuf.ByteString getServiceNameBytes()
If specified, the route must have the service name as the request method name prefix. As a special case, an empty string matches any service name. Only relevant when service multiplexing.
string service_name = 2;boolean getInvert()
Inverts whatever matching is done in the :ref:`method_name <envoy_api_field_extensions.filters.network.thrift_proxy.v3.RouteMatch.method_name>` or :ref:`service_name <envoy_api_field_extensions.filters.network.thrift_proxy.v3.RouteMatch.service_name>` fields. Cannot be combined with wildcard matching as that would result in routes never being matched. .. note:: This does not invert matching done as part of the :ref:`headers field <envoy_api_field_extensions.filters.network.thrift_proxy.v3.RouteMatch.headers>` field. To invert header matching, see :ref:`invert_match <envoy_api_field_config.route.v3.HeaderMatcher.invert_match>`.
bool invert = 3;List<HeaderMatcher> getHeadersList()
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config). Note that this only applies for Thrift transports and/or protocols that support headers.
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;HeaderMatcher getHeaders(int index)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config). Note that this only applies for Thrift transports and/or protocols that support headers.
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;int getHeadersCount()
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config). Note that this only applies for Thrift transports and/or protocols that support headers.
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;List<? extends HeaderMatcherOrBuilder> getHeadersOrBuilderList()
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config). Note that this only applies for Thrift transports and/or protocols that support headers.
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;HeaderMatcherOrBuilder getHeadersOrBuilder(int index)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config). Note that this only applies for Thrift transports and/or protocols that support headers.
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;RouteMatch.MatchSpecifierCase getMatchSpecifierCase()
Copyright © 2018–2021 The Envoy Project. All rights reserved.