Interface OkHttpResponseOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    OkHttpResponse, OkHttpResponse.Builder

    public interface OkHttpResponseOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      HeaderValueOption getHeaders​(int index)
      HTTP entity headers in addition to the original request headers.
      int getHeadersCount()
      HTTP entity headers in addition to the original request headers.
      List<HeaderValueOption> getHeadersList()
      HTTP entity headers in addition to the original request headers.
      HeaderValueOptionOrBuilder getHeadersOrBuilder​(int index)
      HTTP entity headers in addition to the original request headers.
      List<? extends HeaderValueOptionOrBuilder> getHeadersOrBuilderList()
      HTTP entity headers in addition to the original request headers.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getHeadersList

        List<HeaderValueOption> getHeadersList()
         HTTP entity headers in addition to the original request headers. This allows the authorization
         service to append, to add or to override headers from the original request before
         dispatching it to the upstream. Note that the `append` field in `HeaderValueOption` defaults to
         false when used in this message. By setting the `append` field to `true`,
         the filter will append the correspondent header value to the matched request header.
         By leaving `append` as false, the filter will either add a new header, or override an existing
         one if there is a match.
         
        repeated .envoy.api.v2.core.HeaderValueOption headers = 2;
      • getHeaders

        HeaderValueOption getHeaders​(int index)
         HTTP entity headers in addition to the original request headers. This allows the authorization
         service to append, to add or to override headers from the original request before
         dispatching it to the upstream. Note that the `append` field in `HeaderValueOption` defaults to
         false when used in this message. By setting the `append` field to `true`,
         the filter will append the correspondent header value to the matched request header.
         By leaving `append` as false, the filter will either add a new header, or override an existing
         one if there is a match.
         
        repeated .envoy.api.v2.core.HeaderValueOption headers = 2;
      • getHeadersCount

        int getHeadersCount()
         HTTP entity headers in addition to the original request headers. This allows the authorization
         service to append, to add or to override headers from the original request before
         dispatching it to the upstream. Note that the `append` field in `HeaderValueOption` defaults to
         false when used in this message. By setting the `append` field to `true`,
         the filter will append the correspondent header value to the matched request header.
         By leaving `append` as false, the filter will either add a new header, or override an existing
         one if there is a match.
         
        repeated .envoy.api.v2.core.HeaderValueOption headers = 2;
      • getHeadersOrBuilderList

        List<? extends HeaderValueOptionOrBuilder> getHeadersOrBuilderList()
         HTTP entity headers in addition to the original request headers. This allows the authorization
         service to append, to add or to override headers from the original request before
         dispatching it to the upstream. Note that the `append` field in `HeaderValueOption` defaults to
         false when used in this message. By setting the `append` field to `true`,
         the filter will append the correspondent header value to the matched request header.
         By leaving `append` as false, the filter will either add a new header, or override an existing
         one if there is a match.
         
        repeated .envoy.api.v2.core.HeaderValueOption headers = 2;
      • getHeadersOrBuilder

        HeaderValueOptionOrBuilder getHeadersOrBuilder​(int index)
         HTTP entity headers in addition to the original request headers. This allows the authorization
         service to append, to add or to override headers from the original request before
         dispatching it to the upstream. Note that the `append` field in `HeaderValueOption` defaults to
         false when used in this message. By setting the `append` field to `true`,
         the filter will append the correspondent header value to the matched request header.
         By leaving `append` as false, the filter will either add a new header, or override an existing
         one if there is a match.
         
        repeated .envoy.api.v2.core.HeaderValueOption headers = 2;