File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
Exposing a service as both Restful and Soap
How to submit JSON data as request body in Apache CXF jax-rs (REST)
how to get default media player name of the OS?
Jersey Client API Exception Handling issue
rest webservice response problem when returning list
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014