Package hudson.remoting
Class SocketOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
hudson.remoting.SocketOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
InputStream
connected to socket.
Unlike plain Socket.getOutputStream()
, 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.FilterOutputStream
out
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.FilterOutputStream
flush
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
SocketOutputStream
Deprecated.- Throws:
IOException
-
-
Method Details
-
write
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterOutputStream
- Throws:
IOException
-
SocketChannelStream.out(Socket)