接口 VirtualServiceOuterClass.HTTPRedirectOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
VirtualServiceOuterClass.HTTPRedirect, VirtualServiceOuterClass.HTTPRedirect.Builder
封闭类:
VirtualServiceOuterClass

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.ByteString
    On a redirect, overwrite the Authority/Host portion of the URL with this value.
    int
    On a redirect, Specifies the HTTP status code to use in the redirect response.
    On a redirect, overwrite the Path portion of the URL with this value.
    com.google.protobuf.ByteString
    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

      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.