Skip to content

Commit f43f135

Browse files
authored
Deprecate BufferData asInputStream (helidon-io#12076)
1 parent 6cc9a8f commit f43f135

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

common/buffers/src/main/java/io/helidon/common/buffers/BufferData.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,9 @@ default byte[] readBytes() {
684684
* or rewinds the buffer.
685685
*
686686
* @return an input stream backed by this buffer
687+
* @deprecated this method will be removed without replacement
687688
*/
689+
@Deprecated(forRemoval = true, since = "27.0.0")
688690
default InputStream asInputStream() {
689691
return new InputStream() {
690692
@Override

0 commit comments

Comments
 (0)