Just to remind myself the concepts of:
Query parameters:
Matrix parameters:
- Maxtrix parameters is not commonly used.
- Matrix parameters can make RESTful URL more expressive.
- JAX-RS supports matrix parameters. Spring MVC supports it since 3.2.
- Servlet container uses ;jsessionid=xxx in the URI when client cookies is disabled, this is called URL-Rewriting.
Query parameters:
http://example.com/apples?order=random&color=blue
Matrix parameters:
http://example.com/apples;order=random;color=blue
- Maxtrix parameters is not commonly used.
- Matrix parameters can make RESTful URL more expressive.
- JAX-RS supports matrix parameters. Spring MVC supports it since 3.2.
- Servlet container uses ;jsessionid=xxx in the URI when client cookies is disabled, this is called URL-Rewriting.
No comments:
Post a Comment