public final class HttpRouteRuleMatch extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
HttpRouteRuleMatch() |
| Modifier and Type | Method and Description |
|---|---|
HttpRouteRuleMatch |
clone() |
String |
getFullPathMatch()
For satisfying the matchRule condition, the path of the request must exactly match the value
specified in fullPathMatch after removing any query parameters and anchor that may be part of
the original URL.
|
List<HttpHeaderMatch> |
getHeaderMatches()
Specifies a list of header match criteria, all of which must match corresponding headers in the
request.
|
Boolean |
getIgnoreCase()
Specifies that prefixMatch and fullPathMatch matches are case sensitive.
|
List<MetadataFilter> |
getMetadataFilters()
Opaque filter criteria used by Loadbalancer to restrict routing configuration to a limited set
of xDS compliant clients.
|
String |
getPrefixMatch()
For satisfying the matchRule condition, the request's path must begin with the specified
prefixMatch.
|
List<HttpQueryParameterMatch> |
getQueryParameterMatches()
Specifies a list of query parameter match criteria, all of which must match corresponding query
parameters in the request.
|
String |
getRegexMatch()
For satisfying the matchRule condition, the path of the request must satisfy the regular
expression specified in regexMatch after removing any query parameters and anchor supplied with
the original URL.
|
HttpRouteRuleMatch |
set(String fieldName,
Object value) |
HttpRouteRuleMatch |
setFullPathMatch(String fullPathMatch)
For satisfying the matchRule condition, the path of the request must exactly match the value
specified in fullPathMatch after removing any query parameters and anchor that may be part of
the original URL.
|
HttpRouteRuleMatch |
setHeaderMatches(List<HttpHeaderMatch> headerMatches)
Specifies a list of header match criteria, all of which must match corresponding headers in the
request.
|
HttpRouteRuleMatch |
setIgnoreCase(Boolean ignoreCase)
Specifies that prefixMatch and fullPathMatch matches are case sensitive.
|
HttpRouteRuleMatch |
setMetadataFilters(List<MetadataFilter> metadataFilters)
Opaque filter criteria used by Loadbalancer to restrict routing configuration to a limited set
of xDS compliant clients.
|
HttpRouteRuleMatch |
setPrefixMatch(String prefixMatch)
For satisfying the matchRule condition, the request's path must begin with the specified
prefixMatch.
|
HttpRouteRuleMatch |
setQueryParameterMatches(List<HttpQueryParameterMatch> queryParameterMatches)
Specifies a list of query parameter match criteria, all of which must match corresponding query
parameters in the request.
|
HttpRouteRuleMatch |
setRegexMatch(String regexMatch)
For satisfying the matchRule condition, the path of the request must satisfy the regular
expression specified in regexMatch after removing any query parameters and anchor supplied with
the original URL.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getFullPathMatch()
null for nonepublic HttpRouteRuleMatch setFullPathMatch(String fullPathMatch)
fullPathMatch - fullPathMatch or null for nonepublic List<HttpHeaderMatch> getHeaderMatches()
null for nonepublic HttpRouteRuleMatch setHeaderMatches(List<HttpHeaderMatch> headerMatches)
headerMatches - headerMatches or null for nonepublic Boolean getIgnoreCase()
null for nonepublic HttpRouteRuleMatch setIgnoreCase(Boolean ignoreCase)
ignoreCase - ignoreCase or null for nonepublic List<MetadataFilter> getMetadataFilters()
null for nonepublic HttpRouteRuleMatch setMetadataFilters(List<MetadataFilter> metadataFilters)
metadataFilters - metadataFilters or null for nonepublic String getPrefixMatch()
null for nonepublic HttpRouteRuleMatch setPrefixMatch(String prefixMatch)
prefixMatch - prefixMatch or null for nonepublic List<HttpQueryParameterMatch> getQueryParameterMatches()
null for nonepublic HttpRouteRuleMatch setQueryParameterMatches(List<HttpQueryParameterMatch> queryParameterMatches)
queryParameterMatches - queryParameterMatches or null for nonepublic String getRegexMatch()
null for nonepublic HttpRouteRuleMatch setRegexMatch(String regexMatch)
regexMatch - regexMatch or null for nonepublic HttpRouteRuleMatch set(String fieldName, Object value)
set in class GenericJsonpublic HttpRouteRuleMatch clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.