public static class UrlRewrite.Builder extends Object
Modifier and Type | Method and Description |
---|---|
UrlRewrite |
build() |
UrlRewrite.Builder |
clone() |
String |
getHostRewrite()
Prior to forwarding the request to the selected service, the request's host header is
replaced with contents of hostRewrite.
|
String |
getPathPrefixRewrite()
Prior to forwarding the request to the selected backend service, the matching portion of the
request's path is replaced by pathPrefixRewrite.
|
UrlRewrite.Builder |
mergeFrom(UrlRewrite other) |
UrlRewrite.Builder |
setHostRewrite(String hostRewrite)
Prior to forwarding the request to the selected service, the request's host header is
replaced with contents of hostRewrite.
|
UrlRewrite.Builder |
setPathPrefixRewrite(String pathPrefixRewrite)
Prior to forwarding the request to the selected backend service, the matching portion of the
request's path is replaced by pathPrefixRewrite.
|
public UrlRewrite.Builder mergeFrom(UrlRewrite other)
public String getHostRewrite()
public UrlRewrite.Builder setHostRewrite(String hostRewrite)
public String getPathPrefixRewrite()
public UrlRewrite.Builder setPathPrefixRewrite(String pathPrefixRewrite)
public UrlRewrite build()
public UrlRewrite.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.