How to return HTTP 501 from JAX-RS method
Issue
As part of the business method implementation, I want to throw HTTP 501 error code (NOT IMPLEMENTED) if the client try to invoke un-implemented method. Currently I am using resteasy 2.3.5.Final and the Status code 5.1 cannot be find in that version.
Environment
- JBoss Enterprise Application Platform (EAP) 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
