接口 VirtualServiceOuterClass.HTTPRedirectOrBuilder

    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      java.lang.String getAuthority()
      On a redirect, overwrite the Authority/Host portion of the URL with this value.
      com.google.protobuf.ByteString getAuthorityBytes()
      On a redirect, overwrite the Authority/Host portion of the URL with this value.
      int getRedirectCode()
      On a redirect, Specifies the HTTP status code to use in the redirect response.
      java.lang.String getUri()
      On a redirect, overwrite the Path portion of the URL with this value.
      com.google.protobuf.ByteString getUriBytes()
      On 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

        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.