I am wondering if it is possible to add HTTP method to the links created with Spring HATEOAS. I would like the link to look something like:
{
"href":http://localhost:8080/admin/users",
"rel": "add",
"method": "POST"
}
{
"href":http://localhost:8080/admin/users/john",
"rel": "remove",
"method": "DELETE"
}
I couldn't find anything which would allow me to add "method" to the link.