Class ThriftClientOptions

java.lang.Object
com.linecorp.armeria.client.thrift.ThriftClientOptions

@UnstableApi public final class ThriftClientOptions extends Object
ClientOptions to control Thrift-specific behavior.
  • Field Details

    • MAX_RESPONSE_STRING_LENGTH

      public static final ClientOption<Integer> MAX_RESPONSE_STRING_LENGTH
      The maximum allowed number of bytes to read from the transport for variable-length fields (such as strings or binary). If unspecified, the value of ClientOptions.maxResponseLength() will be used instead.
    • MAX_RESPONSE_CONTAINER_LENGTH

      public static final ClientOption<Integer> MAX_RESPONSE_CONTAINER_LENGTH
      The maximum allowed number of containers to read from the transport for maps, sets and lists. If unspecified, the value of ClientOptions.maxResponseLength() will be used instead.