[WEBSOCKET_SPEC-186] The API and annotation examples in 2.1.4 are not equivalent. Created: 18/Apr/13  Updated: 23/Apr/13  Resolved: 23/Apr/13

Status: Resolved
Project: websocket-spec
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.0

Type: Bug Priority: Minor
Reporter: gregwilkins Assignee: dannycoward
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: final


The annotation example includes a path mapping, so it not only defines an EndPoint but adds it to the ServerContainer.

To make the API version equivalent, it needs to following line to be run either as a static initialiser or some other method:


Comment by dannycoward [ 23/Apr/13 ]

Thanks for catching it. Since its early on in the spec I just noted the difference to avoid confusion. I didn't want to have to get into all the config api to explain hello world !

Generated at Sat Mar 25 00:24:57 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.