public final class PathMatcher 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 | 
|---|
PathMatcher()  | 
| Modifier and Type | Method and Description | 
|---|---|
PathMatcher | 
clone()  | 
HttpRouteAction | 
getDefaultRouteAction()
defaultRouteAction takes effect when none of the  pathRules or routeRules match. 
 | 
String | 
getDefaultService()
The full or partial URL to the BackendService resource. 
 | 
HttpRedirectAction | 
getDefaultUrlRedirect()
When none of the specified pathRules or routeRules match, the request is redirected to a URL
 specified by defaultUrlRedirect. 
 | 
String | 
getDescription()
An optional description of this resource. 
 | 
HttpHeaderAction | 
getHeaderAction()
Specifies changes to request and response headers that need to take effect for the selected
 backendService. 
 | 
String | 
getName()
The name to which this PathMatcher is referred by the HostRule. 
 | 
List<PathRule> | 
getPathRules()
The list of path rules. 
 | 
List<HttpRouteRule> | 
getRouteRules()
The list of HTTP route rules. 
 | 
PathMatcher | 
set(String fieldName,
   Object value)  | 
PathMatcher | 
setDefaultRouteAction(HttpRouteAction defaultRouteAction)
defaultRouteAction takes effect when none of the  pathRules or routeRules match. 
 | 
PathMatcher | 
setDefaultService(String defaultService)
The full or partial URL to the BackendService resource. 
 | 
PathMatcher | 
setDefaultUrlRedirect(HttpRedirectAction defaultUrlRedirect)
When none of the specified pathRules or routeRules match, the request is redirected to a URL
 specified by defaultUrlRedirect. 
 | 
PathMatcher | 
setDescription(String description)
An optional description of this resource. 
 | 
PathMatcher | 
setHeaderAction(HttpHeaderAction headerAction)
Specifies changes to request and response headers that need to take effect for the selected
 backendService. 
 | 
PathMatcher | 
setName(String name)
The name to which this PathMatcher is referred by the HostRule. 
 | 
PathMatcher | 
setPathRules(List<PathRule> pathRules)
The list of path rules. 
 | 
PathMatcher | 
setRouteRules(List<HttpRouteRule> routeRules)
The list of HTTP route rules. 
 | 
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 HttpRouteAction getDefaultRouteAction()
null for nonepublic PathMatcher setDefaultRouteAction(HttpRouteAction defaultRouteAction)
defaultRouteAction - defaultRouteAction or null for nonepublic String getDefaultService()
null for nonepublic PathMatcher setDefaultService(String defaultService)
defaultService - defaultService or null for nonepublic HttpRedirectAction getDefaultUrlRedirect()
null for nonepublic PathMatcher setDefaultUrlRedirect(HttpRedirectAction defaultUrlRedirect)
defaultUrlRedirect - defaultUrlRedirect or null for nonepublic String getDescription()
null for nonepublic PathMatcher setDescription(String description)
description - description or null for nonepublic HttpHeaderAction getHeaderAction()
null for nonepublic PathMatcher setHeaderAction(HttpHeaderAction headerAction)
headerAction - headerAction or null for nonepublic String getName()
null for nonepublic PathMatcher setName(String name)
name - name or null for nonepublic List<PathRule> getPathRules()
null for nonepublic PathMatcher setPathRules(List<PathRule> pathRules)
pathRules - pathRules or null for nonepublic List<HttpRouteRule> getRouteRules()
null for nonepublic PathMatcher setRouteRules(List<HttpRouteRule> routeRules)
routeRules - routeRules or null for nonepublic PathMatcher set(String fieldName, Object value)
set in class GenericJsonpublic PathMatcher clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.