Provider mime type matching

From: Bill Burke <>
Date: Fri, 05 Sep 2008 09:33:55 -0400

I know this is probably too late but...

A RESTEasy user brought up an interesting problem:

They have JAXB annotated classes, but their incoming mime type is
"application/". They want to use the provided
JAXB Provider, but have to extend the vendor-specific class and register
it themselves.

I guess it would be cool to allow:


or maybe regex's are overkill and something simple like:

@Produces("application/+xml") will match everything *+xml. I don't know :)

Again, probably too late to get this in, but I'll log an issue anyways.


Bill Burke
JBoss, a division of Red Hat