File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
api/src/main/java/org/asynchttpclient Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -87,18 +87,12 @@ public RequestBuilder setBody(byte[] data) throws IllegalArgumentException {
87
87
}
88
88
89
89
/**
90
- * Deprecated - Use setBody(new InputStreamBodyGenerator(inputStream)).
91
- *
90
+ * Set a Stream for chunking
92
91
* @param stream - An {@link InputStream}
93
92
* @return a {@link RequestBuilder}
94
93
* @throws IllegalArgumentException
95
- * @see #setBody(BodyGenerator) InputStreamBodyGenerator(inputStream)
96
- * @see org.asynchttpclient.generators.InputStreamBodyGenerator
97
- * @deprecated {@link #setBody(BodyGenerator)} setBody(new InputStreamBodyGenerator(inputStream))
98
94
*/
99
95
@ Override
100
- // FIXME I'd do the exact opposite: deprecate InputStreamBodyGenerator
101
- @ Deprecated
102
96
public RequestBuilder setBody (InputStream stream ) throws IllegalArgumentException {
103
97
return super .setBody (stream );
104
98
}
You can’t perform that action at this time.
0 commit comments