Uncategorized

JAX-RS @Consumes with Example – RESTful Web Services Tutorial

3 months ago codedestine 0
In JAX-RS @Consumes annotation is used to specify the MIME media type ( input) that a resource method can consume from the client. @Consumes annotation can be applied at both class level and method level. If it is applied at the class level, all the methods in a resource will consume the specified MIME type by default and Read More