Is there any scenario or side-effect when we want to write write @javax.ws.rs.GET and @javax.ws.rs.Consumes at the same time on the same method?
Documentation for javax.ws.rsConsumes says "A container is responsible for ensuring that the method invoked is capable of consuming the media type of the HTTP request entity body" and GET does not have body, but using both annotations is allowed (i.e. no exception or any warning).