public interface InternalRedirectPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAllowCrossSchemeRedirect()
Allow internal redirect to follow a target URI with a different scheme than the value of
x-forwarded-proto.
|
com.google.protobuf.UInt32Value |
getMaxInternalRedirects()
An internal redirect is not handled, unless the number of previous internal redirects that a
downstream request has encountered is lower than this value.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMaxInternalRedirectsOrBuilder()
An internal redirect is not handled, unless the number of previous internal redirects that a
downstream request has encountered is lower than this value.
|
TypedExtensionConfig |
getPredicates(int index)
Specifies a list of predicates that are queried when an upstream response is deemed
to trigger an internal redirect by all other criteria.
|
int |
getPredicatesCount()
Specifies a list of predicates that are queried when an upstream response is deemed
to trigger an internal redirect by all other criteria.
|
List<TypedExtensionConfig> |
getPredicatesList()
Specifies a list of predicates that are queried when an upstream response is deemed
to trigger an internal redirect by all other criteria.
|
TypedExtensionConfigOrBuilder |
getPredicatesOrBuilder(int index)
Specifies a list of predicates that are queried when an upstream response is deemed
to trigger an internal redirect by all other criteria.
|
List<? extends TypedExtensionConfigOrBuilder> |
getPredicatesOrBuilderList()
Specifies a list of predicates that are queried when an upstream response is deemed
to trigger an internal redirect by all other criteria.
|
int |
getRedirectResponseCodes(int index)
Defines what upstream response codes are allowed to trigger internal redirect.
|
int |
getRedirectResponseCodesCount()
Defines what upstream response codes are allowed to trigger internal redirect.
|
List<Integer> |
getRedirectResponseCodesList()
Defines what upstream response codes are allowed to trigger internal redirect.
|
boolean |
hasMaxInternalRedirects()
An internal redirect is not handled, unless the number of previous internal redirects that a
downstream request has encountered is lower than this value.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasMaxInternalRedirects()
An internal redirect is not handled, unless the number of previous internal redirects that a downstream request has encountered is lower than this value. In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or does not set :ref:`internal_redirect_policy <envoy_api_field_config.route.v4alpha.RouteAction.internal_redirect_policy>` will pass the redirect back to downstream. If not specified, at most one redirect will be followed.
.google.protobuf.UInt32Value max_internal_redirects = 1;com.google.protobuf.UInt32Value getMaxInternalRedirects()
An internal redirect is not handled, unless the number of previous internal redirects that a downstream request has encountered is lower than this value. In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or does not set :ref:`internal_redirect_policy <envoy_api_field_config.route.v4alpha.RouteAction.internal_redirect_policy>` will pass the redirect back to downstream. If not specified, at most one redirect will be followed.
.google.protobuf.UInt32Value max_internal_redirects = 1;com.google.protobuf.UInt32ValueOrBuilder getMaxInternalRedirectsOrBuilder()
An internal redirect is not handled, unless the number of previous internal redirects that a downstream request has encountered is lower than this value. In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or does not set :ref:`internal_redirect_policy <envoy_api_field_config.route.v4alpha.RouteAction.internal_redirect_policy>` will pass the redirect back to downstream. If not specified, at most one redirect will be followed.
.google.protobuf.UInt32Value max_internal_redirects = 1;List<Integer> getRedirectResponseCodesList()
Defines what upstream response codes are allowed to trigger internal redirect. If unspecified, only 302 will be treated as internal redirect. Only 301, 302, 303, 307 and 308 are valid values. Any other codes will be ignored.
repeated uint32 redirect_response_codes = 2 [(.validate.rules) = { ... }int getRedirectResponseCodesCount()
Defines what upstream response codes are allowed to trigger internal redirect. If unspecified, only 302 will be treated as internal redirect. Only 301, 302, 303, 307 and 308 are valid values. Any other codes will be ignored.
repeated uint32 redirect_response_codes = 2 [(.validate.rules) = { ... }int getRedirectResponseCodes(int index)
Defines what upstream response codes are allowed to trigger internal redirect. If unspecified, only 302 will be treated as internal redirect. Only 301, 302, 303, 307 and 308 are valid values. Any other codes will be ignored.
repeated uint32 redirect_response_codes = 2 [(.validate.rules) = { ... }List<TypedExtensionConfig> getPredicatesList()
Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria. Any predicate in the list can reject the redirect, causing the response to be proxied to downstream.
repeated .envoy.config.core.v4alpha.TypedExtensionConfig predicates = 3;TypedExtensionConfig getPredicates(int index)
Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria. Any predicate in the list can reject the redirect, causing the response to be proxied to downstream.
repeated .envoy.config.core.v4alpha.TypedExtensionConfig predicates = 3;int getPredicatesCount()
Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria. Any predicate in the list can reject the redirect, causing the response to be proxied to downstream.
repeated .envoy.config.core.v4alpha.TypedExtensionConfig predicates = 3;List<? extends TypedExtensionConfigOrBuilder> getPredicatesOrBuilderList()
Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria. Any predicate in the list can reject the redirect, causing the response to be proxied to downstream.
repeated .envoy.config.core.v4alpha.TypedExtensionConfig predicates = 3;TypedExtensionConfigOrBuilder getPredicatesOrBuilder(int index)
Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria. Any predicate in the list can reject the redirect, causing the response to be proxied to downstream.
repeated .envoy.config.core.v4alpha.TypedExtensionConfig predicates = 3;boolean getAllowCrossSchemeRedirect()
Allow internal redirect to follow a target URI with a different scheme than the value of x-forwarded-proto. The default is false.
bool allow_cross_scheme_redirect = 4;Copyright © 2018–2021 The Envoy Project. All rights reserved.