< prev index next >

src/java.net.http/share/classes/java/net/http/HttpResponse.java

Print this page

        

@@ -1251,11 +1251,11 @@
         }
 
         /**
          * Returns a {@code BodySubscriber} which buffers data before delivering
          * it to the given downstream subscriber. The subscriber guarantees to
-         * deliver {@code bufferSize} bytes of data to each invocation of the
+         * deliver {@code buffersize} bytes of data to each invocation of the
          * downstream's {@link BodySubscriber#onNext(Object) onNext} method,
          * except for the final invocation, just before
          * {@link BodySubscriber#onComplete() onComplete} is invoked. The final
          * invocation of {@code onNext} may contain fewer than {@code bufferSize}
          * bytes.
< prev index next >