Interface BufferSettingsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
BufferSettings, BufferSettings.Builder

public interface BufferSettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    When this field is true, Envoy will buffer the message until *max_request_bytes* is reached.
    int
    Sets the maximum size of a message body that the filter will hold in memory.

    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 Details

    • getMaxRequestBytes

      int getMaxRequestBytes()
       Sets the maximum size of a message body that the filter will hold in memory. Envoy will return
       *HTTP 413* and will *not* initiate the authorization process when buffer reaches the number
       set in this field. Note that this setting will have precedence over :ref:`failure_mode_allow
       <envoy_api_field_config.filter.http.ext_authz.v2.ExtAuthz.failure_mode_allow>`.
       
      uint32 max_request_bytes = 1 [(.validate.rules) = { ... }
      Returns:
      The maxRequestBytes.
    • getAllowPartialMessage

      boolean getAllowPartialMessage()
       When this field is true, Envoy will buffer the message until *max_request_bytes* is reached.
       The authorization request will be dispatched and no 413 HTTP error will be returned by the
       filter.
       
      bool allow_partial_message = 2;
      Returns:
      The allowPartialMessage.