Package hudson.remoting
Class SocketInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
hudson.remoting.SocketInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
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
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, read, read, reset, skip
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
Constructor Details
-
SocketInputStream
Deprecated.- Throws:
IOException
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterInputStream
- Throws:
IOException
-
SocketChannelStream.in(Socket)