Issue Details (XML | Word | Printable)

Key: WEBSOCKET_SPEC-24
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: dannycoward
Reporter: dannycoward
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
websocket-spec

Endpoint mapping: what happens when paths overlap ?

Created: 12/Oct/12 10:49 PM   Updated: 04/Dec/12 12:52 AM  Due: 16/Nov/12   Resolved: 04/Dec/12 12:52 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Tags: v009
Participants: dannycoward


 Description  « Hide

2 endpoints mapped to /hello/you and /hello/{foo} both match the incoming /hello/you request URI.

Should both endpoints be called ? If not, then should this be a deployment error or should the spec how to determine a winning match (like the servlet spec) ?

Similarly, should multiple message handlers handling the same message type on a session all get the onMessage callback ?



dannycoward added a comment - 04/Dec/12 12:52 AM

This will be an application deployment error.