Class IoSessionOutputStream
java.lang.Object
java.io.OutputStream
org.apache.mina.handler.stream.IoSessionOutputStream
- All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
An
OutputStream that forwards all write operations to
the associated IoSession.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class OutputStream
write
-
Field Details
-
session
-
lastWriteFuture
-
-
Constructor Details
-
IoSessionOutputStream
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
checkClosed
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-