@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:29:25.710Z") @Stability(value=Experimental) public interface HttpRouteMatch extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
HttpRouteMatch.Builder
A builder for
HttpRouteMatch |
static class |
HttpRouteMatch.Jsii$Proxy
An implementation for
HttpRouteMatch |
| Modifier and Type | Method and Description |
|---|---|
static HttpRouteMatch.Builder |
builder() |
default List<HttpHeaderMatch> |
getHeaders()
(experimental) Specifies the client request headers to match on.
|
default HttpRouteMatchMethod |
getMethod()
(experimental) The HTTP client request method to match on.
|
String |
getPrefixPath()
(experimental) Specifies the path to match requests with.
|
default HttpRouteProtocol |
getProtocol()
(experimental) The client request protocol to match on.
|
@Stability(value=Experimental) @NotNull String getPrefixPath()
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.
@Stability(value=Experimental) @Nullable default List<HttpHeaderMatch> getHeaders()
All specified headers must match for the route to match.
Default: - do not match on headers
@Stability(value=Experimental) @Nullable default HttpRouteMatchMethod getMethod()
Default: - do not match on request method
@Stability(value=Experimental) @Nullable default HttpRouteProtocol getProtocol()
Applicable only for HTTP2 routes.
Default: - do not match on HTTP2 request protocol
@Stability(value=Experimental) static HttpRouteMatch.Builder builder()
HttpRouteMatch.Builder of HttpRouteMatchCopyright © 2021. All rights reserved.