In the javadoc for @WebSocketMessage (text section) it says ...
"Java primitive or class equivalent to receive the whole message converted
to that type"
and
"any object parameter for which the endpoint has a text decoder
(Decoder.Text or Decoder.TextStream)."
as separate bullet points
Are these not the same concepts?
In order to be converted, wouldn't you need a Decoder to do it?
--
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