A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
REST Webservices Default CONSUMES and PRODUCES MEDIA TYPES or MIME TYPE
Joined: Mar 06, 2009
Nov 14, 2012 12:04:25
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
I agree. Here's the link:
subject: REST Webservices Default CONSUMES and PRODUCES MEDIA TYPES or MIME TYPE
How to submit JSON data as request body in Apache CXF jax-rs (REST)
Exposing a service as both Restful and Soap
Jersey Client API Exception Handling issue
rest webservice response problem when returning list
how to get default media player name of the OS?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014