I was reading Oracle docs
https://docs.oracle.com/cd/E19776-01/820-4867/ghrpv/ which says
If no methods in a resource are able to produce the MIME type in a client request, the Jersey runtime sends back an HTTP “406 Not Acceptable” error
So I wrote below code to see 406 error
Now If I make a get request with content-type application/xml it should give me 406 error in response but it returns GET called
Tea Addict, Oracle Java Programmer , Oracle SQL Expert , Oracle Java Web Component Developer, Oracle Web Service Developer