|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.glassfish.tyrus.sample.draw.DrawingMessage
public class DrawingMessage
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface javax.net.websocket.Decoder |
|---|
Decoder.Binary<T>, Decoder.Text<T> |
| Nested classes/interfaces inherited from interface javax.net.websocket.Encoder |
|---|
Encoder.Binary<T>, Encoder.Text<T> |
| Constructor Summary | |
|---|---|
DrawingMessage()
|
|
| Method Summary | |
|---|---|
DrawingMessage |
decode(java.lang.String s)
|
java.lang.String |
encode(DrawingMessage data)
|
org.json.JSONObject |
getJSONObject()
|
boolean |
willDecode(java.lang.String s)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DrawingMessage()
| Method Detail |
|---|
public DrawingMessage decode(java.lang.String s)
throws DecodeException
decode in interface Decoder.Text<DrawingMessage>DecodeExceptionpublic boolean willDecode(java.lang.String s)
willDecode in interface Decoder.Text<DrawingMessage>public org.json.JSONObject getJSONObject()
public java.lang.String encode(DrawingMessage data)
throws EncodeException
encode in interface Encoder.Text<DrawingMessage>EncodeException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||