How can I reject requests that come to RESTEasy JAX-RS resource according the request body content?
Issue
- What resources RESTEasy has if we want to reject some requests based in some rule? For example, what should we do if we want to reject all requests with a determinate text in the request body?
Environment
- JBoss Enterprise Application Platform (EAP) 5.x
- JBoss Enterprise Application Platform (EAP) 6.x
- RESTEasy
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.
