jakartaee / websocket

Jakarta WebSocket
https://projects.eclipse.org/projects/ee4j.websocket
Other
61 stars 43 forks source link

Implement RFC6570 (URI Template) Level 2 #222

Open glassfishrobot opened 10 years ago

glassfishrobot commented 10 years ago

Are there plans to implement the Level 2 of the URI template specification? That would be greatly useful for framework developers who want to base their implementations on the JSR-356.

glassfishrobot commented 6 years ago
glassfishrobot commented 10 years ago

@glassfishrobot Commented Reported by ccidraljr

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA WEBSOCKET_SPEC-222

markt-asf commented 4 years ago

This change would need to wait until Jakarta EE 10. Level 2 introduces reserved string expansion and fragment expansion. We can ignore fragment expansion as clients (should) never send the fragments to the server. That leaves reserved string expansion. This would need careful specification as a template such as /{+a}/{+b} does not have an unambiguous mapping to /zzz/yyy/xxx. We need to find a wording that disallows the ambiguous mappings without blocking needed functionality. Some examples of what users would like to be able to do would be helpful here.

joakime commented 4 years ago

We would need to be careful about lookup order as well.