dev@jersey.java.net

RE: [Jersey][WebDAV] Different handling of lax=true

From: Markus KARG <markus.karg_at_gmx.net>
Date: Tue, 13 Jan 2009 20:08:37 +0100

Paul,

> > So to keep my application working with clients not sending any
> > Content-Type,
> > I have to manually lookup the default JAXB provider and give it a
> > fake MIME
> > type, right? So I'll do that...
>
> You can write your own JAXB message body readers/writers to accept any
> media type and override the default behaviour, like i showed in a very
> simple example leveraging a Jersey helper class.

I know that I can do that by in what way would that be better than giving a
fake MIME to the default body reader?

Regards
Markus