Interface Compressor.ResponseDirectionConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Compressor.ResponseDirectionConfig,Compressor.ResponseDirectionConfig.Builder
- Enclosing class:
- Compressor
public static interface Compressor.ResponseDirectionConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Compressor.CommonDirectionConfiggetCommonConfig().envoy.extensions.filters.http.compressor.v3.Compressor.CommonDirectionConfig common_config = 1;Compressor.CommonDirectionConfigOrBuildergetCommonConfigOrBuilder().envoy.extensions.filters.http.compressor.v3.Compressor.CommonDirectionConfig common_config = 1;booleangetDisableOnEtagHeader()If true, disables compression when the response contains an etag header.booleangetRemoveAcceptEncodingHeader()If true, removes accept-encoding from the request headers before dispatching it to the upstream so that responses do not get compressed before reaching the filter. .. attention:: To avoid interfering with other compression filters in the same chain use this option in the filter closest to the upstream.booleanhasCommonConfig().envoy.extensions.filters.http.compressor.v3.Compressor.CommonDirectionConfig common_config = 1;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCommonConfig
boolean hasCommonConfig()
.envoy.extensions.filters.http.compressor.v3.Compressor.CommonDirectionConfig common_config = 1;- Returns:
- Whether the commonConfig field is set.
-
getCommonConfig
Compressor.CommonDirectionConfig getCommonConfig()
.envoy.extensions.filters.http.compressor.v3.Compressor.CommonDirectionConfig common_config = 1;- Returns:
- The commonConfig.
-
getCommonConfigOrBuilder
Compressor.CommonDirectionConfigOrBuilder getCommonConfigOrBuilder()
.envoy.extensions.filters.http.compressor.v3.Compressor.CommonDirectionConfig common_config = 1;
-
getDisableOnEtagHeader
boolean getDisableOnEtagHeader()
If true, disables compression when the response contains an etag header. When it is false, the filter will preserve weak etags and remove the ones that require strong validation.
bool disable_on_etag_header = 2;- Returns:
- The disableOnEtagHeader.
-
getRemoveAcceptEncodingHeader
boolean getRemoveAcceptEncodingHeader()
If true, removes accept-encoding from the request headers before dispatching it to the upstream so that responses do not get compressed before reaching the filter. .. attention:: To avoid interfering with other compression filters in the same chain use this option in the filter closest to the upstream.bool remove_accept_encoding_header = 3;- Returns:
- The removeAcceptEncodingHeader.
-
-