Class SocketInputStream

All Implemented Interfaces:
Closeable, AutoCloseable

public class SocketInputStream extends FilterInputStream
InputStream connected to socket.

Unlike plain Socket.getInputStream(), closing the stream does not close the entire socket, and instead it merely partial-close a socket in the direction.

Author:
Kohsuke Kawaguchi