Interface RouteMatchOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RouteMatch,RouteMatch.Builder
public interface RouteMatchOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetHeaders(int index) Specifies a set of headers that the route should match on.intSpecifies a set of headers that the route should match on.Specifies a set of headers that the route should match on.getHeadersOrBuilder(int index) Specifies a set of headers that the route should match on.List<? extends HeaderMatcherOrBuilder>Specifies a set of headers that the route should match on.Method level routing matching.Method level routing matching.booleanMethod level routing matching.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasMethod
boolean hasMethod()Method level routing matching.
.envoy.extensions.filters.network.dubbo_proxy.v3.MethodMatch method = 1;- Returns:
- Whether the method field is set.
-
getMethod
MethodMatch getMethod()Method level routing matching.
.envoy.extensions.filters.network.dubbo_proxy.v3.MethodMatch method = 1;- Returns:
- The method.
-
getMethodOrBuilder
MethodMatchOrBuilder getMethodOrBuilder()Method level routing matching.
.envoy.extensions.filters.network.dubbo_proxy.v3.MethodMatch method = 1; -
getHeadersList
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).
repeated .envoy.config.route.v3.HeaderMatcher headers = 2; -
getHeaders
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).
repeated .envoy.config.route.v3.HeaderMatcher headers = 2; -
getHeadersCount
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).
repeated .envoy.config.route.v3.HeaderMatcher headers = 2; -
getHeadersOrBuilderList
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).
repeated .envoy.config.route.v3.HeaderMatcher headers = 2; -
getHeadersOrBuilder
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).
repeated .envoy.config.route.v3.HeaderMatcher headers = 2;
-