Interface Compressor.ResponseDirectionConfigOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Compressor.CommonDirectionConfig getCommonConfig()
      .envoy.extensions.filters.http.compressor.v3.Compressor.CommonDirectionConfig common_config = 1;
      Compressor.CommonDirectionConfigOrBuilder getCommonConfigOrBuilder()
      .envoy.extensions.filters.http.compressor.v3.Compressor.CommonDirectionConfig common_config = 1;
      boolean getDisableOnEtagHeader()
      If true, disables compression when the response contains an etag header.
      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.
      boolean hasCommonConfig()
      .envoy.extensions.filters.http.compressor.v3.Compressor.CommonDirectionConfig common_config = 1;
      • 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

      • 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.
      • 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.