Interface MessageAppender
-
- All Known Implementing Classes:
MessageInputStream,MessageReader,NullMessage,SimpleBinaryMessage,SimpleTextMessage
@Deprecated(since="2021-05-27") public interface MessageAppenderDeprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Appender for messages (used for multiple frames with continuations, and also to allow for streaming APIs)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidappendFrame(java.nio.ByteBuffer framePayload, boolean isLast)Deprecated.Append the frame payload to the message.voidmessageComplete()Deprecated.Notification that message is to be considered complete.
-
-
-
Method Detail
-
appendFrame
void appendFrame(java.nio.ByteBuffer framePayload, boolean isLast) throws java.io.IOExceptionDeprecated.Append the frame payload to the message.- Parameters:
framePayload- the frame payload to append.isLast- flag indicating if this is the last part of the message or not.- Throws:
java.io.IOException- if unable to append the frame payload
-
messageComplete
void messageComplete()
Deprecated.Notification that message is to be considered complete.Any cleanup or final actions should be taken here.
-
-