接口 VirtualServiceOuterClass.HTTPRedirectOrBuilder
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
public static interface VirtualServiceOuterClass.HTTPRedirectOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
方法概要
修饰符和类型方法说明On a redirect, overwrite the Authority/Host portion of the URL with this value.com.google.protobuf.ByteStringOn a redirect, overwrite the Authority/Host portion of the URL with this value.intOn a redirect, Specifies the HTTP status code to use in the redirect response.getUri()On a redirect, overwrite the Path portion of the URL with this value.com.google.protobuf.ByteStringOn a redirect, overwrite the Path portion of the URL with this value.从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder
isInitialized从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getUri
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
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.
-