Re: [OT] Tomcat 8 WebSocket Encoders / Decoders Questions

2013-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dan, On 10/16/13 11:36 AM, Daniel Mikusa wrote: If I change my encoder decoder to use List rather than ListString everything works fine. Stupid Java and it's type-erasures. :( As much as I really dislike most of the language-level features

Tomcat 8 WebSocket Encoders / Decoders Questions

2013-10-16 Thread Daniel Mikusa
I have a simple WebSocket endpoint defined, it is just echoing the data sent by the client. Here's the code. @ServerEndpoint(value=/websocket, decoders={ListStringDecoder.class}, encoders={ListStringEncoder.class}) public static class Server { @OnMessage

Re: Tomcat 8 WebSocket Encoders / Decoders Questions

2013-10-16 Thread Niki Dokovski
On Wed, Oct 16, 2013 at 6:36 PM, Daniel Mikusa dmik...@gopivotal.comwrote: I have a simple WebSocket endpoint defined, it is just echoing the data sent by the client. Here's the code. @ServerEndpoint(value=/websocket, decoders={ListStringDecoder.class},