| Package | Description |
|---|---|
| com.google.api.services.compute.model |
| Modifier and Type | Method and Description |
|---|---|
HttpRedirectAction |
HttpRedirectAction.clone() |
HttpRedirectAction |
PathMatcher.getDefaultUrlRedirect()
When none of the specified pathRules or routeRules match, the request is redirected to a URL
specified by defaultUrlRedirect.
|
HttpRedirectAction |
UrlMap.getDefaultUrlRedirect()
When none of the specified hostRules match, the request is redirected to a URL specified by
defaultUrlRedirect.
|
HttpRedirectAction |
HttpRouteRule.getUrlRedirect()
When this rule is matched, the request is redirected to a URL specified by urlRedirect.
|
HttpRedirectAction |
PathRule.getUrlRedirect()
When a path pattern is matched, the request is redirected to a URL specified by urlRedirect.
|
HttpRedirectAction |
HttpRedirectAction.set(String fieldName,
Object value) |
HttpRedirectAction |
HttpRedirectAction.setHostRedirect(String hostRedirect)
The host that will be used in the redirect response instead of the one that was supplied in the
request.
|
HttpRedirectAction |
HttpRedirectAction.setHttpsRedirect(Boolean httpsRedirect)
If set to true, the URL scheme in the redirected request is set to https.
|
HttpRedirectAction |
HttpRedirectAction.setPathRedirect(String pathRedirect)
The path that will be used in the redirect response instead of the one that was supplied in the
request.
|
HttpRedirectAction |
HttpRedirectAction.setPrefixRedirect(String prefixRedirect)
The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch, retaining the
remaining portion of the URL before redirecting the request.
|
HttpRedirectAction |
HttpRedirectAction.setRedirectResponseCode(String redirectResponseCode)
The HTTP Status code to use for this RedirectAction.
|
HttpRedirectAction |
HttpRedirectAction.setStripQuery(Boolean stripQuery)
If set to true, any accompanying query portion of the original URL is removed prior to
redirecting the request.
|
| Modifier and Type | Method and Description |
|---|---|
PathMatcher |
PathMatcher.setDefaultUrlRedirect(HttpRedirectAction defaultUrlRedirect)
When none of the specified pathRules or routeRules match, the request is redirected to a URL
specified by defaultUrlRedirect.
|
UrlMap |
UrlMap.setDefaultUrlRedirect(HttpRedirectAction defaultUrlRedirect)
When none of the specified hostRules match, the request is redirected to a URL specified by
defaultUrlRedirect.
|
HttpRouteRule |
HttpRouteRule.setUrlRedirect(HttpRedirectAction urlRedirect)
When this rule is matched, the request is redirected to a URL specified by urlRedirect.
|
PathRule |
PathRule.setUrlRedirect(HttpRedirectAction urlRedirect)
When a path pattern is matched, the request is redirected to a URL specified by urlRedirect.
|
Copyright © 2011–2021 Google. All rights reserved.