users@jersey.java.net

[com.sun.ws.rest.api.core.WebResource] interface removal?

From: Jakub Podlesak <Jakub.Podlesak_at_Sun.COM>
Date: Thu, 08 Nov 2007 17:31:17 +0100

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