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 > "List" everything works fine. Stupid Java and it's type-erasures. :( As much as I really dislike most of the language-level features (w

Re: Tomcat 8 WebSocket Encoders / Decoders Questions

2013-10-17 Thread Niki Dokovski
On Thu, Oct 17, 2013 at 12:46 AM, Niki Dokovski wrote: > > > > On Wed, Oct 16, 2013 at 6:36 PM, Daniel Mikusa wrote: > >> I have a simple WebSocket endpoint defined, it is just echoing the data >> sent by the client. Here's the code. >> >> @ServerEndpoint(value="/websocket", >> decod

Re: Tomcat 8 WebSocket Encoders / Decoders Questions

2013-10-16 Thread Niki Dokovski
On Wed, Oct 16, 2013 at 6:36 PM, Daniel Mikusa wrote: > 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={ListStringEncode

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