AbstractCloses the stream, releasing resources related to it. This will also close the individual input and output streams. Once the stream is closed, all other operations will fail. Closing a stream multiple times is allowed and will not result in an error.
Disables the Nagle algorithm if noDelay is true, otherwise enables it. The Nagle algorithm is enabled
by default, so it is only necessary to call this method if you wish to optimize for low delay instead of
high throughput.
The
InputStreamto read from.