Uses of Class
com.google.cloud.networkservices.v1.HttpRoute.Redirect.Builder
-
Uses of HttpRoute.Redirect.Builder in com.google.cloud.networkservices.v1
Methods in com.google.cloud.networkservices.v1 that return HttpRoute.Redirect.BuilderModifier and TypeMethodDescriptionHttpRoute.Redirect.Builder.clear()HttpRoute.Redirect.Builder.clearHostRedirect()The host that will be used in the redirect response instead of the one that was supplied in the request.HttpRoute.Redirect.Builder.clearHttpsRedirect()If set to true, the URL scheme in the redirected request is set to https.HttpRoute.Redirect.Builder.clearPathRedirect()The path that will be used in the redirect response instead of the one that was supplied in the request.HttpRoute.Redirect.Builder.clearPortRedirect()The port that will be used in the redirected request instead of the one that was supplied in the request.HttpRoute.Redirect.Builder.clearPrefixRewrite()Indicates that during redirection, the matched prefix (or path) should be swapped with this value.HttpRoute.Redirect.Builder.clearResponseCode()The HTTP Status code to use for the redirect.HttpRoute.Redirect.Builder.clearStripQuery()if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request.HttpRoute.RouteAction.Builder.getRedirectBuilder()If set, the request is directed as configured by this field.HttpRoute.Redirect.Builder.mergeFrom(HttpRoute.Redirect other) HttpRoute.Redirect.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) HttpRoute.Redirect.Builder.mergeFrom(com.google.protobuf.Message other) static HttpRoute.Redirect.BuilderHttpRoute.Redirect.newBuilder()static HttpRoute.Redirect.BuilderHttpRoute.Redirect.newBuilder(HttpRoute.Redirect prototype) HttpRoute.Redirect.newBuilderForType()protected HttpRoute.Redirect.BuilderHttpRoute.Redirect.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) HttpRoute.Redirect.Builder.setHostRedirect(String value) The host that will be used in the redirect response instead of the one that was supplied in the request.HttpRoute.Redirect.Builder.setHostRedirectBytes(com.google.protobuf.ByteString value) The host that will be used in the redirect response instead of the one that was supplied in the request.HttpRoute.Redirect.Builder.setHttpsRedirect(boolean value) If set to true, the URL scheme in the redirected request is set to https.HttpRoute.Redirect.Builder.setPathRedirect(String value) The path that will be used in the redirect response instead of the one that was supplied in the request.HttpRoute.Redirect.Builder.setPathRedirectBytes(com.google.protobuf.ByteString value) The path that will be used in the redirect response instead of the one that was supplied in the request.HttpRoute.Redirect.Builder.setPortRedirect(int value) The port that will be used in the redirected request instead of the one that was supplied in the request.HttpRoute.Redirect.Builder.setPrefixRewrite(String value) Indicates that during redirection, the matched prefix (or path) should be swapped with this value.HttpRoute.Redirect.Builder.setPrefixRewriteBytes(com.google.protobuf.ByteString value) Indicates that during redirection, the matched prefix (or path) should be swapped with this value.HttpRoute.Redirect.Builder.setResponseCode(HttpRoute.Redirect.ResponseCode value) The HTTP Status code to use for the redirect.HttpRoute.Redirect.Builder.setResponseCodeValue(int value) The HTTP Status code to use for the redirect.HttpRoute.Redirect.Builder.setStripQuery(boolean value) if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request.HttpRoute.Redirect.toBuilder()Methods in com.google.cloud.networkservices.v1 with parameters of type HttpRoute.Redirect.BuilderModifier and TypeMethodDescriptionHttpRoute.RouteAction.Builder.setRedirect(HttpRoute.Redirect.Builder builderForValue) If set, the request is directed as configured by this field.