Interface TransformationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Transformation,Transformation.Builder
public interface TransformationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe body transformation configuration.The body transformation configuration.getHeadersMutations(int index) The header mutations to perform.intThe header mutations to perform.The header mutations to perform.getHeadersMutationsOrBuilder(int index) The header mutations to perform.List<? extends HeaderMutationOrBuilder>The header mutations to perform.booleanThe body transformation configuration.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
-
getHeadersMutationsList
List<HeaderMutation> getHeadersMutationsList()The header mutations to perform. The :ref:`substitution format specifier <config_access_log_format>` could be applied here. In addition to the commonly used format specifiers, this filter introduces additional format specifiers: * ``%REQUEST_BODY(KEY*)%``: the request body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'. * ``%RESPONSE_BODY(KEY*)%``: the response body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation headers_mutations = 1; -
getHeadersMutations
The header mutations to perform. The :ref:`substitution format specifier <config_access_log_format>` could be applied here. In addition to the commonly used format specifiers, this filter introduces additional format specifiers: * ``%REQUEST_BODY(KEY*)%``: the request body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'. * ``%RESPONSE_BODY(KEY*)%``: the response body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation headers_mutations = 1; -
getHeadersMutationsCount
int getHeadersMutationsCount()The header mutations to perform. The :ref:`substitution format specifier <config_access_log_format>` could be applied here. In addition to the commonly used format specifiers, this filter introduces additional format specifiers: * ``%REQUEST_BODY(KEY*)%``: the request body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'. * ``%RESPONSE_BODY(KEY*)%``: the response body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation headers_mutations = 1; -
getHeadersMutationsOrBuilderList
List<? extends HeaderMutationOrBuilder> getHeadersMutationsOrBuilderList()The header mutations to perform. The :ref:`substitution format specifier <config_access_log_format>` could be applied here. In addition to the commonly used format specifiers, this filter introduces additional format specifiers: * ``%REQUEST_BODY(KEY*)%``: the request body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'. * ``%RESPONSE_BODY(KEY*)%``: the response body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation headers_mutations = 1; -
getHeadersMutationsOrBuilder
The header mutations to perform. The :ref:`substitution format specifier <config_access_log_format>` could be applied here. In addition to the commonly used format specifiers, this filter introduces additional format specifiers: * ``%REQUEST_BODY(KEY*)%``: the request body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'. * ``%RESPONSE_BODY(KEY*)%``: the response body. And ``Key`` KEY is an optional lookup key in the namespace with the option of specifying nested keys separated by ':'.
repeated .envoy.config.common.mutation_rules.v3.HeaderMutation headers_mutations = 1; -
hasBodyTransformation
boolean hasBodyTransformation()The body transformation configuration. If not set, no body transformation will be performed.
.envoy.extensions.filters.http.transform.v3.BodyTransformation body_transformation = 2;- Returns:
- Whether the bodyTransformation field is set.
-
getBodyTransformation
BodyTransformation getBodyTransformation()The body transformation configuration. If not set, no body transformation will be performed.
.envoy.extensions.filters.http.transform.v3.BodyTransformation body_transformation = 2;- Returns:
- The bodyTransformation.
-
getBodyTransformationOrBuilder
BodyTransformationOrBuilder getBodyTransformationOrBuilder()The body transformation configuration. If not set, no body transformation will be performed.
.envoy.extensions.filters.http.transform.v3.BodyTransformation body_transformation = 2;
-