Interface AuthorizationRequestOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ListStringMatcher getAllowedHeaders()
      Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>`.
      ListStringMatcherOrBuilder getAllowedHeadersOrBuilder()
      Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>`.
      HeaderValue getHeadersToAdd​(int index)
      Sets a list of headers that will be included to the request to authorization service.
      int getHeadersToAddCount()
      Sets a list of headers that will be included to the request to authorization service.
      List<HeaderValue> getHeadersToAddList()
      Sets a list of headers that will be included to the request to authorization service.
      HeaderValueOrBuilder getHeadersToAddOrBuilder​(int index)
      Sets a list of headers that will be included to the request to authorization service.
      List<? extends HeaderValueOrBuilder> getHeadersToAddOrBuilderList()
      Sets a list of headers that will be included to the request to authorization service.
      boolean hasAllowedHeaders()
      Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>`.
      • 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

      • hasAllowedHeaders

        boolean hasAllowedHeaders()
         Authorization request will include the client request headers that have a correspondent match
         in the :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>`. Note that in addition to the
         user's supplied matchers:
         1. *Host*, *Method*, *Path* and *Content-Length* are automatically included to the list.
         2. *Content-Length* will be set to 0 and the request to the authorization service will not have
         a message body. However, the authorization request can include the buffered client request body
         (controlled by :ref:`with_request_body
         <envoy_api_field_config.filter.http.ext_authz.v2.ExtAuthz.with_request_body>` setting),
         consequently the value of *Content-Length* of the authorization request reflects the size of
         its payload size.
         
        .envoy.type.matcher.ListStringMatcher allowed_headers = 1;
        Returns:
        Whether the allowedHeaders field is set.
      • getAllowedHeaders

        ListStringMatcher getAllowedHeaders()
         Authorization request will include the client request headers that have a correspondent match
         in the :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>`. Note that in addition to the
         user's supplied matchers:
         1. *Host*, *Method*, *Path* and *Content-Length* are automatically included to the list.
         2. *Content-Length* will be set to 0 and the request to the authorization service will not have
         a message body. However, the authorization request can include the buffered client request body
         (controlled by :ref:`with_request_body
         <envoy_api_field_config.filter.http.ext_authz.v2.ExtAuthz.with_request_body>` setting),
         consequently the value of *Content-Length* of the authorization request reflects the size of
         its payload size.
         
        .envoy.type.matcher.ListStringMatcher allowed_headers = 1;
        Returns:
        The allowedHeaders.
      • getAllowedHeadersOrBuilder

        ListStringMatcherOrBuilder getAllowedHeadersOrBuilder()
         Authorization request will include the client request headers that have a correspondent match
         in the :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>`. Note that in addition to the
         user's supplied matchers:
         1. *Host*, *Method*, *Path* and *Content-Length* are automatically included to the list.
         2. *Content-Length* will be set to 0 and the request to the authorization service will not have
         a message body. However, the authorization request can include the buffered client request body
         (controlled by :ref:`with_request_body
         <envoy_api_field_config.filter.http.ext_authz.v2.ExtAuthz.with_request_body>` setting),
         consequently the value of *Content-Length* of the authorization request reflects the size of
         its payload size.
         
        .envoy.type.matcher.ListStringMatcher allowed_headers = 1;
      • getHeadersToAddList

        List<HeaderValue> getHeadersToAddList()
         Sets a list of headers that will be included to the request to authorization service. Note that
         client request of the same key will be overridden.
         
        repeated .envoy.api.v2.core.HeaderValue headers_to_add = 2;
      • getHeadersToAdd

        HeaderValue getHeadersToAdd​(int index)
         Sets a list of headers that will be included to the request to authorization service. Note that
         client request of the same key will be overridden.
         
        repeated .envoy.api.v2.core.HeaderValue headers_to_add = 2;
      • getHeadersToAddCount

        int getHeadersToAddCount()
         Sets a list of headers that will be included to the request to authorization service. Note that
         client request of the same key will be overridden.
         
        repeated .envoy.api.v2.core.HeaderValue headers_to_add = 2;
      • getHeadersToAddOrBuilderList

        List<? extends HeaderValueOrBuilder> getHeadersToAddOrBuilderList()
         Sets a list of headers that will be included to the request to authorization service. Note that
         client request of the same key will be overridden.
         
        repeated .envoy.api.v2.core.HeaderValue headers_to_add = 2;
      • getHeadersToAddOrBuilder

        HeaderValueOrBuilder getHeadersToAddOrBuilder​(int index)
         Sets a list of headers that will be included to the request to authorization service. Note that
         client request of the same key will be overridden.
         
        repeated .envoy.api.v2.core.HeaderValue headers_to_add = 2;