<< Back to previous view

[WEBSOCKET_SPEC-24] Endpoint mapping: what happens when paths overlap ? Created: 12/Oct/12  Updated: 04/Dec/12  Due: 16/Nov/12  Resolved: 04/Dec/12

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

Type: Improvement Priority: Major
Reporter: dannycoward Assignee: dannycoward
Resolution: Fixed Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: v009
Participants: dannycoward

 Description   

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 ?



 Comments   
Comment by dannycoward [ 04/Dec/12 12:52 AM ]

This will be an application deployment error.

Generated at Thu Apr 17 07:00:12 UTC 2014 using JIRA 4.0.2#472.