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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HeaderMatchergetHeaders(int index)Specifies a set of headers that the route should match on.intgetHeadersCount()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.HeaderMatcherOrBuildergetHeadersOrBuilder(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.MethodMatchgetMethod()Method level routing matching.MethodMatchOrBuildergetMethodOrBuilder()Method level routing matching.booleanhasMethod()Method level routing matching.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMethod
boolean hasMethod()
Method level routing matching.
.envoy.config.filter.network.dubbo_proxy.v2alpha1.MethodMatch method = 1;- Returns:
- Whether the method field is set.
-
getMethod
MethodMatch getMethod()
Method level routing matching.
.envoy.config.filter.network.dubbo_proxy.v2alpha1.MethodMatch method = 1;- Returns:
- The method.
-
getMethodOrBuilder
MethodMatchOrBuilder getMethodOrBuilder()
Method level routing matching.
.envoy.config.filter.network.dubbo_proxy.v2alpha1.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.api.v2.route.HeaderMatcher headers = 2;
-
getHeaders
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).
repeated .envoy.api.v2.route.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.api.v2.route.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.api.v2.route.HeaderMatcher headers = 2;
-
getHeadersOrBuilder
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).
repeated .envoy.api.v2.route.HeaderMatcher headers = 2;
-
-