dev@jsr311.java.net

Re: MIME vs Media Type

From: Dhanji R. Prasanna <dhanji_at_gmail.com>
Date: Fri, 18 May 2007 15:01:37 -0700

On 5/18/07, Jerome Louvel <jerome.louvel_at_noelios.com> wrote:
>
>
> Hi Stefan,
>
> If we end-up agreeing that those annotations need to specify more than
> just
> the media type, to do full content negotiation, then @Produce and @Consume
> seem perfect indeed.


Had there been a decision on Produce/Consume vs @MediaType being on the
parameter list? I think @Consume is superfluous if it can be specified on
the method parameters... then again Ive been behind on the threads a bit so
maybe that got sorted out =( ...

Stefan, how about @TafkaMime, that is concise and it worked for prince =)

Dhanji.

Best regards,
> Jerome
>
> > -----Message d'origine-----
> > De : Stefan Tilkov [mailto:stefan.tilkov_at_innoq.com]
> > Envoyé : vendredi 18 mai 2007 17:46
> > À : dev_at_jsr311.dev.java.net
> > Objet : Re: MIME vs Media Type
> >
> > Why not @ProduceMediaTypeFormerlyCalledMimeType? ;-)
> >
> > Seriously, isn't "@Produce" and "@Consume" sufficient?
> >
> > Stefan
> > --
> > Stefan Tilkov, http://www.innoq.com/blog/st/
> >
> > On May 18, 2007, at 3:36 PM, Marc Hadley wrote:
> >
> > > On May 18, 2007, at 4:48 AM, Jerome Louvel wrote:
> > >>
> > >> Therefore, I propose to rename:
> > >> - @ProduceMime to @ProduceMediaType
> > >> - @ConsumeMime to @ConsumeMediaType
> > >>
> > > Works for me.
> > >
> > > Marc.
> > >
> > > ---
> > > Marc Hadley <marc.hadley at sun.com>
> > > CTO Office, Sun Microsystems.
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe_at_jsr311.dev.java.net
> > For additional commands, e-mail: dev-help_at_jsr311.dev.java.net
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: dev-help_at_jsr311.dev.java.net
>
>