Class MessageOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.eclipse.jetty.websocket.common.message.MessageOutputStream
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
@Deprecated(since="2021-05-27") public class MessageOutputStream extends OutputStream
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Support for writing a single WebSocket BINARY message via aOutputStream
-
-
Constructor Summary
Constructors Constructor Description MessageOutputStream(OutgoingFrames outgoing, int bufferSize, ByteBufferPool bufferPool)Deprecated.MessageOutputStream(WebSocketSession session)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated.voidflush()Deprecated.voidsetCallback(WriteCallback callback)Deprecated.voidwrite(byte[] bytes, int off, int len)Deprecated.voidwrite(int b)Deprecated.-
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
-
-
-
Constructor Detail
-
MessageOutputStream
public MessageOutputStream(WebSocketSession session)
Deprecated.
-
MessageOutputStream
public MessageOutputStream(OutgoingFrames outgoing, int bufferSize, ByteBufferPool bufferPool)
Deprecated.
-
-
Method Detail
-
write
public void write(byte[] bytes, int off, int len) throws IOExceptionDeprecated.- Overrides:
writein classOutputStream- Throws:
IOException
-
write
public void write(int b) throws IOExceptionDeprecated.- Specified by:
writein classOutputStream- Throws:
IOException
-
flush
public void flush() throws IOExceptionDeprecated.- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
public void close() throws IOExceptionDeprecated.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
setCallback
public void setCallback(WriteCallback callback)
Deprecated.
-
-