...
Pour avoir plus d'information sur les annotations JAX-RS Cf.JAX-RS : Understanding the Basics
Exemples d'utilisation
Un get sur /cxf/rest/domainService/users donnera :
| Bloc de code | ||
|---|---|---|
| ||
[
-
{
language: "fr"
id: "bourges"
displayName: "R Bourges"
-
informations: [
-
{
id: 52
informationKey: "INSERT_DATE"
informationValue: "2011/06/10 12:57:13"
}
-
{
id: 54
informationKey: "UPDATE_DATE"
informationValue: "2011/06/10 18:21:46"
}
]
admin: false
}
-
{
language: "fr"
id: "colmant"
displayName: "Y Colmant"
-
informations: [
-
{
id: 53
informationKey: "INSERT_DATE"
informationValue: "2011/06/10 12:57:27"
}
]
admin: false
}
] |