Interface UrlRewriteOrBuilder (1.6.0-beta)

public interface UrlRewriteOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHostRewrite()

public abstract String getHostRewrite()

Prior to forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be between 1 and 255 characters.

optional string host_rewrite = 159819253;

Returns
TypeDescription
String

The hostRewrite.

getHostRewriteBytes()

public abstract ByteString getHostRewriteBytes()

Prior to forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be between 1 and 255 characters.

optional string host_rewrite = 159819253;

Returns
TypeDescription
ByteString

The bytes for hostRewrite.

getPathPrefixRewrite()

public abstract String getPathPrefixRewrite()

Prior to forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be between 1 and 1024 characters.

optional string path_prefix_rewrite = 41186361;

Returns
TypeDescription
String

The pathPrefixRewrite.

getPathPrefixRewriteBytes()

public abstract ByteString getPathPrefixRewriteBytes()

Prior to forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be between 1 and 1024 characters.

optional string path_prefix_rewrite = 41186361;

Returns
TypeDescription
ByteString

The bytes for pathPrefixRewrite.

hasHostRewrite()

public abstract boolean hasHostRewrite()

Prior to forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be between 1 and 255 characters.

optional string host_rewrite = 159819253;

Returns
TypeDescription
boolean

Whether the hostRewrite field is set.

hasPathPrefixRewrite()

public abstract boolean hasPathPrefixRewrite()

Prior to forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be between 1 and 1024 characters.

optional string path_prefix_rewrite = 41186361;

Returns
TypeDescription
boolean

Whether the pathPrefixRewrite field is set.