Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

REST Webservices Default CONSUMES and PRODUCES MEDIA TYPES or MIME TYPE

 
sandeeprajsingh tandon
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I wanted to know whats the default MEDIA TYPE or MIMETYPE for a restful webservices.
If we dont provide @Consumes or @Produces annotations, what is the rest service going to consume and produce.will it be text/html?

I am using the JERSEY implementation

thanks
sandeepraj
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic