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
Modifier and TypeMethodDescriptionAuthorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>`.Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>`.getHeadersToAdd(int index) Sets a list of headers that will be included to the request to authorization service.intSets a list of headers that will be included to the request to authorization service.Sets a list of headers that will be included to the request to authorization service.getHeadersToAddOrBuilder(int index) Sets a list of headers that will be included to the request to authorization service.List<? extends HeaderValueOrBuilder>Sets a list of headers that will be included to the request to authorization service.booleanAuthorization 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
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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;
-