Aug 25, 2018

[HDGEM] JAX-RS Provider Filters

Filters provide AOP (Aspect Oriented Programming) like capabilities within JAX-RS applications

Filters allow developers to implement cross cutting application specific concerns which ideally should not be sprinkled all over the business logic e.g. authentication, authorization, request/response
validation etc.

The AOP-based programming model involves interposing on methods of JAX-RS resource classes and dealing with (or mutating) components of HTTP request/response - headers, request URIs, the invoked HTTP method (GET, POST etc)

Posted By Blogger to HDGEM at 11/24/2016 11:47:00 AM