Interface HttpRoute.URLRewriteOrBuilder (0.1.0)

public static interface HttpRoute.URLRewriteOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHostRewrite()

public abstract String getHostRewrite()

Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.

string host_rewrite = 2;

Returns
Type Description
String

The hostRewrite.

getHostRewriteBytes()

public abstract ByteString getHostRewriteBytes()

Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.

string host_rewrite = 2;

Returns
Type Description
ByteString

The bytes for hostRewrite.

getPathPrefixRewrite()

public abstract String getPathPrefixRewrite()

Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.

string path_prefix_rewrite = 1;

Returns
Type Description
String

The pathPrefixRewrite.

getPathPrefixRewriteBytes()

public abstract ByteString getPathPrefixRewriteBytes()

Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.

string path_prefix_rewrite = 1;

Returns
Type Description
ByteString

The bytes for pathPrefixRewrite.