code: public RetryingHttpClientBuilder contentPreviewLength(int contentPreviewLength) {
          checkState(needsContentInStrategy, "cannot set contentPreviewLength when RetryStrategy is used; " +
                                             "Use RetryStrategyWithContent to enable this feature.");
          checkArgument(contentPreviewLength > 0,
                        "contentPreviewLength: %s (expected: > 0)", contentPreviewLength);
          this.contentPreviewLength = contentPreviewLength;
          return self();
      }
docs: Sets the length of content required to determine whether to retry or not. If the total length of content
  exceeds this length and there's no retry condition matched, it will hand over the stream to the client.
  Note that this property is useful only if you specified {@link RetryStrategyWithContent} when calling
  this builder's constructor. The default value of this property is
  {@value #DEFAULT_CONTENT_PREVIEW_LENGTH}.
  
  @param contentPreviewLength the content length to preview. {@code 0} does not disable the length limit.
  
  @return {@link RetryingHttpClientBuilder} to support method chaining
  
  @throws IllegalStateException if this builder is created with a {@link RetryStrategy} rather than
  {@link RetryStrategyWithContent}
  @throws IllegalArgumentException if the specified {@code contentPreviewLength} is equal to or
  less than {@code 0}