javax.net.websocket
Interface MessageHandler.Text

All Superinterfaces:
MessageHandler
Enclosing interface:
MessageHandler

public static interface MessageHandler.Text
extends MessageHandler

This kind of listener listens for text messages. If the message is received in parts, the container buffers it until it is has been fully received before this method is called.

Since:
DRAFT 002

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.net.websocket.MessageHandler
MessageHandler.AsyncBinary, MessageHandler.AsyncText, MessageHandler.Binary, MessageHandler.BinaryStream, MessageHandler.CharacterStream, MessageHandler.DecodedObject<T>, MessageHandler.Pong, MessageHandler.Text
 
Method Summary
 void onMessage(String text)
          Called when the text message has been fully received.
 

Method Detail

onMessage

void onMessage(String text)
Called when the text message has been fully received.

Parameters:
text - the binary message data.


Copyright © 2012. All Rights Reserved.