Java Doc for methods isEndOfInput() and readChunk from Class ChunkedInput is inconsistent (Netty 5) #2261

superzhu opened this Issue Feb 24, 2014 · 1 comment


None yet
2 participants

The Java doc description for readChunk(ChannelHandlerContext ctx):
Fetches a chunked data from the stream. Once this method returns the last chunk
and thus the stream has reached at its end, any subsequent {@link #isEndOfInput()}
call must return {@code false}.

the last sentence should be any subsequent {@link #isEndOfInput()}
 call must return {@code true} from my understanding.

@normanmaurer normanmaurer added this to the 4.0.18.Final milestone Feb 25, 2014


normanmaurer commented Mar 3, 2014

@superzhu you are right... fixed in 4.0, 4.1 and master

@normanmaurer normanmaurer self-assigned this Mar 3, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment