Skip to main content

[jsr356-experts] v004 spec draft for Review

  • From: Danny Coward < >
  • To:
  • Subject: [jsr356-experts] v004 spec draft for Review
  • Date: Fri, 07 Sep 2012 16:07:09 -0700

Hello experts,

Here's the v004 javadoc and spec document for you to review:-

http://java.net/projects/websocket-spec/downloads/directory/Spec%20javadoc%20Drafts/v004

I've also checked the API source and spec document source into the repository. Please do take a careful look when you get chance,

Thanks,

- Danny



Change List v003 to v004

Spec document added

Definition of threading in the application model
- see spec document

Java EE integration draft
- see spec document

HttpSession changes
- removed explicit API dependency, moved to handshake only

API Tweaks
- ByteBuffer replaces byte[]
- public static Frame.Data.Binary.Continuation createBinaryContinuationFrame(String s, boolean isLast) -> public static Frame.Data.Binary.Continuation createBinaryContinuationFrame(String s, boolean isLast)
- DataFrame - text frame returns ByteBuffer instead of String, UTF-8 encoded partial string
- WebSocketMessage -> maxMessageSize
- added EncodeException.getObject()
- CloseCodes now use an extensible enum pattern
--
Danny Coward
Java EE
Oracle Corporation


[jsr356-experts] v004 spec draft for Review

Danny Coward 09/07/2012
 
 
Close
loading
Please Confirm
Close