In the return types section of the @WebSocketMessage javadoc it says as one
of the possible options
"any Java primitive or class equivalent"
I'm assuming this means any of the following ...
int - java.lang.Integer
long - java.lang.Long
boolean - java.lang.Boolean
byte - java.lang.Byte
char - java.lang.Character
double - java.lang.Double
float - java.lang.Float
short - java.lang.Short
Now, I'm curious, what message format type should these return?
Binary? Text?
If text, what should the format be?
If binary, what byte order?
This section also says "any Java primitive or class equivalent" which is
good, and makes the message format easy enough to determine.
Just the ones above are a bit ambiguous
--
Joakim Erdfelt <joakim_at_intalio.com>
webtide.com <http://www.webtide.com/>
Developer advice, services and support
from the Jetty & CometD experts
eclipse.org/jetty - cometd.org