|  | 
| 1 | 1 | /* | 
| 2 |  | - * Copyright 2002-2023 the original author or authors. | 
|  | 2 | + * Copyright 2002-2024 the original author or authors. | 
| 3 | 3 |  * | 
| 4 | 4 |  * Licensed under the Apache License, Version 2.0 (the "License"); | 
| 5 | 5 |  * you may not use this file except in compliance with the License. | 
| @@ -62,16 +62,9 @@ public void setProxy(Proxy proxy) { | 
| 62 | 62 | 	/** | 
| 63 | 63 | 	 * Indicate whether this request factory should buffer the | 
| 64 | 64 | 	 * {@linkplain ClientHttpRequest#getBody() request body} internally. | 
| 65 |  | -	 * <p>Default is {@code true}. When sending large amounts of data via POST or PUT, | 
| 66 |  | -	 * it is recommended to change this property to {@code false}, so as not to run | 
| 67 |  | -	 * out of memory. This will result in a {@link ClientHttpRequest} that either | 
| 68 |  | -	 * streams directly to the underlying {@link HttpURLConnection} (if the | 
| 69 |  | -	 * {@link org.springframework.http.HttpHeaders#getContentLength() Content-Length} | 
| 70 |  | -	 * is known in advance), or that will use "Chunked transfer encoding" | 
| 71 |  | -	 * (if the {@code Content-Length} is not known in advance). | 
| 72 | 65 | 	 * @see #setChunkSize(int) | 
| 73 |  | -	 * @see HttpURLConnection#setFixedLengthStreamingMode(int) | 
| 74 |  | -	 * @deprecated since 6.1 requests are never buffered, as if this property is {@code false} | 
|  | 66 | +	 * @deprecated since 6.1 requests are never buffered, | 
|  | 67 | +	 * as if this property is {@code false} | 
| 75 | 68 | 	 */ | 
| 76 | 69 | 	@Deprecated(since = "6.1", forRemoval = true) | 
| 77 | 70 | 	public void setBufferRequestBody(boolean bufferRequestBody) { | 
|  | 
0 commit comments