Class NullMessage
- java.lang.Object
-
- org.eclipse.jetty.websocket.common.message.NullMessage
-
- All Implemented Interfaces:
MessageAppender
@Deprecated(since="2021-05-27") public class NullMessage extends java.lang.Object implements MessageAppender
Deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description static MessageAppender
INSTANCE
Deprecated.
-
Constructor Summary
Constructors Constructor Description NullMessage()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
appendFrame(java.nio.ByteBuffer framePayload, boolean isLast)
Deprecated.Append the frame payload to the message.void
messageComplete()
Deprecated.Notification that message is to be considered complete.
-
-
-
Field Detail
-
INSTANCE
public static final MessageAppender INSTANCE
Deprecated.
-
-
Method Detail
-
appendFrame
public void appendFrame(java.nio.ByteBuffer framePayload, boolean isLast)
Deprecated.Description copied from interface:MessageAppender
Append the frame payload to the message.- Specified by:
appendFrame
in interfaceMessageAppender
- Parameters:
framePayload
- the frame payload to append.isLast
- flag indicating if this is the last part of the message or not.
-
messageComplete
public void messageComplete()
Deprecated.Description copied from interface:MessageAppender
Notification that message is to be considered complete.Any cleanup or final actions should be taken here.
- Specified by:
messageComplete
in interfaceMessageAppender
-
-