Hi all,
the [WebResource] interface has just one method:
--cuthere--
void handleRequest(HttpRequestContext request, HttpResponseContext response);
--cuthere--
which can be used to build up a low-level/general resources
(serving GET and POST and ... by a single method)
Given that [HttpMethod] annotation could be replaced by
annotations for particular http methods [1],
the whole [WebResource] interface could be probably removed.
So far it is used only in several unit tests.
Are there any objections removing the interface?
Thanks,
~Jakub
[1]
https://jsr311.dev.java.net/issues/show_bug.cgi?id=15