I can see users wanting to add support for different formats in
different resource classes. i.e.
@Path("/root")
@Produces("application/xml")
public class MyRootXmlSupport {}
@Path("/root")
@Produces("application/json")
public class MyJsonSupport {}
I can also see the following:
@Path("/{options : .*}")
public class HandleOptionsGenerically
{
@OPTIONS
public Response handleOptions() {...}
}
BTW, I didn't even know this restriction existed and is something we
already do by default in resteasy. I don't see why it is a big deal to
support/allow.
On 5/21/12 4:07 PM, Marek Potociar wrote:
> Hello experts,
> please have a look at the issue
> http://java.net/jira/browse/JAX_RS_SPEC-94 and share your opinion. I am
> proposing to close as "won't fix" for the reasons explain in my comment
> to the issue.
>
> Unless there are objections I'm going to close the issue by the end of
> the week.
>
> Marek
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com