Package | Description |
---|---|
com.google.api.services.compute.model |
Modifier and Type | Method and Description |
---|---|
HttpRedirectAction |
HttpRedirectAction.clone() |
HttpRedirectAction |
UrlMap.getDefaultUrlRedirect()
When none of the specified hostRules match, the request is redirected to a URL specified by
defaultUrlRedirect.
|
HttpRedirectAction |
PathMatcher.getDefaultUrlRedirect()
When when none of the specified pathRules or routeRules match, the request is redirected to a
URL specified by defaultUrlRedirect.
|
HttpRedirectAction |
PathRule.getUrlRedirect()
When a path pattern is matched, the request is redirected to a URL specified by urlRedirect.
|
HttpRedirectAction |
HttpRouteRule.getUrlRedirect()
When this rule is matched, the request is redirected to a URL specified by urlRedirect.
|
HttpRedirectAction |
HttpRedirectAction.set(java.lang.String fieldName,
java.lang.Object value) |
HttpRedirectAction |
HttpRedirectAction.setHostRedirect(java.lang.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(java.lang.Boolean httpsRedirect)
If set to true, the URL scheme in the redirected request is set to https.
|
HttpRedirectAction |
HttpRedirectAction.setPathRedirect(java.lang.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(java.lang.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(java.lang.String redirectResponseCode)
The HTTP Status code to use for this RedirectAction.
|
HttpRedirectAction |
HttpRedirectAction.setStripQuery(java.lang.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 |
---|---|
UrlMap |
UrlMap.setDefaultUrlRedirect(HttpRedirectAction defaultUrlRedirect)
When none of the specified hostRules match, the request is redirected to a URL specified by
defaultUrlRedirect.
|
PathMatcher |
PathMatcher.setDefaultUrlRedirect(HttpRedirectAction defaultUrlRedirect)
When when none of the specified pathRules or routeRules match, the request is redirected to a
URL specified by defaultUrlRedirect.
|
PathRule |
PathRule.setUrlRedirect(HttpRedirectAction urlRedirect)
When a path pattern is matched, the request is redirected to a URL specified by urlRedirect.
|
HttpRouteRule |
HttpRouteRule.setUrlRedirect(HttpRedirectAction urlRedirect)
When this rule is matched, the request is redirected to a URL specified by urlRedirect.
|