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, count
Fields inherited from class java.io.FilterOutputStream
out
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(WebSocketFrame frame) void
private void
writeFrame0
(WebSocketFrame frame) private void
writeFrame1
(WebSocketFrame frame) private void
private void
writeFramePayload
(WebSocketFrame frame, byte[] maskingKey) Methods inherited from class java.io.BufferedOutputStream
flush, write, write
Methods 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
-