Chapter 9. Overview of Spring Web annotations and their JAX-RS equivalents
The following table shows how Spring Web annotations can be converted to JAX-RS annotations.
Table 9.1. Spring Web annotations and their JAX-RS equivalents
Spring | JAX-RS | Notes |
---|---|---|
|
There is no equivalent in JAX-RS. Annotating a class with | |
|
| |
|
| |
|
| |
|
| |
|
| |
| No equivalent in JAX-RS. Method parameters corresponding to the body of the request are handled in JAX-RS without requiring any annotation. | |
| No equivalent in JAX-RS. | |
| No equivalent in JAX-RS. | |
|
No equivalent annotation in JAX-RS. Exceptions are handled by implementing |