接口 VirtualServiceOuterClass.HTTPRedirectOrBuilder
-
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
public static interface VirtualServiceOuterClass.HTTPRedirectOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 java.lang.StringgetAuthority()On a redirect, overwrite the Authority/Host portion of the URL with this value.com.google.protobuf.ByteStringgetAuthorityBytes()On a redirect, overwrite the Authority/Host portion of the URL with this value.intgetRedirectCode()On a redirect, Specifies the HTTP status code to use in the redirect response.java.lang.StringgetUri()On a redirect, overwrite the Path portion of the URL with this value.com.google.protobuf.ByteStringgetUriBytes()On a redirect, overwrite the Path portion of the URL with this value.
-
-
-
方法详细资料
-
getUri
java.lang.String getUri()
On a redirect, overwrite the Path portion of the URL with this value. Note that the entire path will be replaced, irrespective of the request URI being matched as an exact path or prefix.
string uri = 1;- 返回:
- The uri.
-
getUriBytes
com.google.protobuf.ByteString getUriBytes()
On a redirect, overwrite the Path portion of the URL with this value. Note that the entire path will be replaced, irrespective of the request URI being matched as an exact path or prefix.
string uri = 1;- 返回:
- The bytes for uri.
-
getAuthority
java.lang.String getAuthority()
On a redirect, overwrite the Authority/Host portion of the URL with this value.
string authority = 2;- 返回:
- The authority.
-
getAuthorityBytes
com.google.protobuf.ByteString getAuthorityBytes()
On a redirect, overwrite the Authority/Host portion of the URL with this value.
string authority = 2;- 返回:
- The bytes for authority.
-
getRedirectCode
int getRedirectCode()
On a redirect, Specifies the HTTP status code to use in the redirect response. The default response code is MOVED_PERMANENTLY (301).
uint32 redirect_code = 3;- 返回:
- The redirectCode.
-
-