Package com.neovisionaries.ws.client
Class WebSocketOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.BufferedOutputStream
com.neovisionaries.ws.client.WebSocketOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
-
Field Summary
Fields inherited from class java.io.BufferedOutputStream
buf, countFields inherited from class java.io.FilterOutputStream
out -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(WebSocketFrame frame) voidprivate voidwriteFrame0(WebSocketFrame frame) private voidwriteFrame1(WebSocketFrame frame) private voidprivate voidwriteFramePayload(WebSocketFrame frame, byte[] maskingKey) Methods inherited from class java.io.BufferedOutputStream
flush, write, writeMethods inherited from class java.io.FilterOutputStream
close, write
-
Constructor Details
-
WebSocketOutputStream
-
-
Method Details
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
writeFrame0
- Throws:
IOException
-
writeFrame1
- Throws:
IOException
-
writeFrameExtendedPayloadLength
- Throws:
IOException
-
writeFramePayload
- Throws:
IOException
-