Class TextPartialMessage
java.lang.Object
org.eclipse.jetty.websocket.jsr356.messages.TextPartialMessage
- All Implemented Interfaces:
MessageAppender
Partial TEXT MessageAppender for MessageHandler.Partial interface
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MessageHandlerWrapperprivate final javax.websocket.MessageHandler.Partial<String> private final Utf8PartialBuilder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendFrame(ByteBuffer payload, boolean isLast) Append the frame payload to the message.voidNotification that message is to be considered complete.
-
Field Details
-
msgWrapper
-
partialHandler
-
utf8Partial
-
-
Constructor Details
-
TextPartialMessage
-
-
Method Details
-
appendFrame
Description copied from interface:MessageAppenderAppend the frame payload to the message.- Specified by:
appendFramein interfaceMessageAppender- Parameters:
payload- the frame payload to append.isLast- flag indicating if this is the last part of the message or not.- Throws:
IOException- if unable to append the frame payload
-
messageComplete
public void messageComplete()Description copied from interface:MessageAppenderNotification that message is to be considered complete.Any cleanup or final actions should be taken here.
- Specified by:
messageCompletein interfaceMessageAppender
-