public static interface HttpGatewayRouteMatch.Builder extends SdkPojo, CopyableBuilder<HttpGatewayRouteMatch.Builder,HttpGatewayRouteMatch>
| Modifier and Type | Method and Description |
|---|---|
HttpGatewayRouteMatch.Builder |
prefix(String prefix)
Specifies the path to match requests with.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildHttpGatewayRouteMatch.Builder prefix(String prefix)
Specifies the path to match requests with. This parameter must always start with /, which by
itself matches all requests to the virtual service name. You can also match for path-based routing of
requests. For example, if your virtual service name is my-service.local and you want the route
to match requests to my-service.local/metrics, your prefix should be /metrics.
prefix - Specifies the path to match requests with. This parameter must always start with /, which
by itself matches all requests to the virtual service name. You can also match for path-based routing
of requests. For example, if your virtual service name is my-service.local and you want
the route to match requests to my-service.local/metrics, your prefix should be
/metrics.Copyright © 2021. All rights reserved.