TooTallNate/Java-WebSocket — pull request #40 by Davidiusdadi (2011-11-20 02:52:25+00:00)
Title: Reorganized codebase & added draft 10 support

In order to be able to extend this websocket protocol implementation in the future at all i took all the draft specific code and put it into the package net.tootallnate.websocket.drafts

The rest of the library only deals with generalized classes like
Handshakedata, HandshakeBuilder or Framedata

That means that for every new draft only one class has to be touched!

Unfortunately some of the draft specific code could not be directly moved so that the older drafts 75 and 76 are not usable without fuhrer work.

However i added the draft 10 implementation including full framing support.

I tested with latest Crome and Firefox using my own js scripts and http://websocket.org/echo.html