play.mvc
Class Http.WebSocketFrame

java.lang.Object
  extended by play.mvc.Http.WebSocketEvent
      extended by play.mvc.Http.WebSocketFrame
Enclosing class:
Http

public static class Http.WebSocketFrame
extends Http.WebSocketEvent

A Websocket frame


Field Summary
 byte[] binaryData
           
 boolean isBinary
           
 java.lang.String textData
           
 
Fields inherited from class play.mvc.Http.WebSocketEvent
BinaryFrame, SocketClosed, TextFrame
 
Constructor Summary
Http.WebSocketFrame(byte[] data)
           
Http.WebSocketFrame(java.lang.String data)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isBinary

public final boolean isBinary

textData

public final java.lang.String textData

binaryData

public final byte[] binaryData
Constructor Detail

Http.WebSocketFrame

public Http.WebSocketFrame(java.lang.String data)

Http.WebSocketFrame

public Http.WebSocketFrame(byte[] data)


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly