Uses of Class
com.google.cloud.compute.v1.HttpRedirectAction.Builder
-
Uses of HttpRedirectAction.Builder in com.google.cloud.compute.v1
Methods in com.google.cloud.compute.v1 that return HttpRedirectAction.BuilderModifier and TypeMethodDescriptionHttpRedirectAction.Builder.clear()HttpRedirectAction.Builder.clearHostRedirect()The host that is used in the redirect response instead of the one that was supplied in the request.HttpRedirectAction.Builder.clearHttpsRedirect()If set to true, the URL scheme in the redirected request is set to HTTPS.HttpRedirectAction.Builder.clearPathRedirect()The path that is used in the redirect response instead of the one that was supplied in the request.HttpRedirectAction.Builder.clearPrefixRedirect()The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch, retaining the remaining portion of the URL before redirecting the request.HttpRedirectAction.Builder.clearRedirectResponseCode()The HTTP Status code to use for this RedirectAction.HttpRedirectAction.Builder.clearStripQuery()If set to true, any accompanying query portion of the original URL is removed before redirecting the request.PathMatcher.Builder.getDefaultUrlRedirectBuilder()When none of the specified pathRules orrouteRules match, the request is redirected to a URL specified by defaultUrlRedirect.UrlMap.Builder.getDefaultUrlRedirectBuilder()When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect.HttpRouteRule.Builder.getUrlRedirectBuilder()When this rule is matched, the request is redirected to a URL specified by urlRedirect.PathRule.Builder.getUrlRedirectBuilder()When a path pattern is matched, the request is redirected to a URL specified by urlRedirect.HttpRedirectAction.Builder.mergeFrom(HttpRedirectAction other) HttpRedirectAction.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) HttpRedirectAction.Builder.mergeFrom(com.google.protobuf.Message other) static HttpRedirectAction.BuilderHttpRedirectAction.newBuilder()static HttpRedirectAction.BuilderHttpRedirectAction.newBuilder(HttpRedirectAction prototype) HttpRedirectAction.newBuilderForType()protected HttpRedirectAction.BuilderHttpRedirectAction.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) HttpRedirectAction.Builder.setHostRedirect(String value) The host that is used in the redirect response instead of the one that was supplied in the request.HttpRedirectAction.Builder.setHostRedirectBytes(com.google.protobuf.ByteString value) The host that is used in the redirect response instead of the one that was supplied in the request.HttpRedirectAction.Builder.setHttpsRedirect(boolean value) If set to true, the URL scheme in the redirected request is set to HTTPS.HttpRedirectAction.Builder.setPathRedirect(String value) The path that is used in the redirect response instead of the one that was supplied in the request.HttpRedirectAction.Builder.setPathRedirectBytes(com.google.protobuf.ByteString value) The path that is used in the redirect response instead of the one that was supplied in the request.HttpRedirectAction.Builder.setPrefixRedirect(String value) The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch, retaining the remaining portion of the URL before redirecting the request.HttpRedirectAction.Builder.setPrefixRedirectBytes(com.google.protobuf.ByteString value) The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch, retaining the remaining portion of the URL before redirecting the request.HttpRedirectAction.Builder.setRedirectResponseCode(String value) The HTTP Status code to use for this RedirectAction.HttpRedirectAction.Builder.setRedirectResponseCodeBytes(com.google.protobuf.ByteString value) The HTTP Status code to use for this RedirectAction.HttpRedirectAction.Builder.setStripQuery(boolean value) If set to true, any accompanying query portion of the original URL is removed before redirecting the request.HttpRedirectAction.toBuilder()Methods in com.google.cloud.compute.v1 with parameters of type HttpRedirectAction.BuilderModifier and TypeMethodDescriptionPathMatcher.Builder.setDefaultUrlRedirect(HttpRedirectAction.Builder builderForValue) When none of the specified pathRules orrouteRules match, the request is redirected to a URL specified by defaultUrlRedirect.UrlMap.Builder.setDefaultUrlRedirect(HttpRedirectAction.Builder builderForValue) When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect.HttpRouteRule.Builder.setUrlRedirect(HttpRedirectAction.Builder builderForValue) When this rule is matched, the request is redirected to a URL specified by urlRedirect.PathRule.Builder.setUrlRedirect(HttpRedirectAction.Builder builderForValue) When a path pattern is matched, the request is redirected to a URL specified by urlRedirect.