public static interface HttpMatch.Builder extends SdkPojo, CopyableBuilder<HttpMatch.Builder,HttpMatch>
| Modifier and Type | Method and Description |
|---|---|
HttpMatch.Builder |
headerMatches(Collection<HeaderMatch> headerMatches)
The header matches.
|
HttpMatch.Builder |
headerMatches(Consumer<HeaderMatch.Builder>... headerMatches)
The header matches.
|
HttpMatch.Builder |
headerMatches(HeaderMatch... headerMatches)
The header matches.
|
HttpMatch.Builder |
method(String method)
The HTTP method type.
|
default HttpMatch.Builder |
pathMatch(Consumer<PathMatch.Builder> pathMatch)
The path match.
|
HttpMatch.Builder |
pathMatch(PathMatch pathMatch)
The path match.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildHttpMatch.Builder headerMatches(Collection<HeaderMatch> headerMatches)
The header matches. Matches incoming requests with rule based on request header value before applying rule action.
headerMatches - The header matches. Matches incoming requests with rule based on request header value before applying
rule action.HttpMatch.Builder headerMatches(HeaderMatch... headerMatches)
The header matches. Matches incoming requests with rule based on request header value before applying rule action.
headerMatches - The header matches. Matches incoming requests with rule based on request header value before applying
rule action.HttpMatch.Builder headerMatches(Consumer<HeaderMatch.Builder>... headerMatches)
The header matches. Matches incoming requests with rule based on request header value before applying rule action.
This is a convenience method that creates an instance of theHeaderMatch.Builder avoiding the need to create one
manually via HeaderMatch.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #headerMatches(List.
headerMatches - a consumer that will call methods on
HeaderMatch.Builder#headerMatches(java.util.Collection) HttpMatch.Builder method(String method)
The HTTP method type.
method - The HTTP method type.HttpMatch.Builder pathMatch(PathMatch pathMatch)
The path match.
pathMatch - The path match.default HttpMatch.Builder pathMatch(Consumer<PathMatch.Builder> pathMatch)
The path match.
This is a convenience method that creates an instance of thePathMatch.Builder avoiding the need to
create one manually via PathMatch.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to pathMatch(PathMatch).
pathMatch - a consumer that will call methods on PathMatch.BuilderpathMatch(PathMatch)Copyright © 2023. All rights reserved.