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, tools, and much more.