blst blst - 5 months ago 21
reST (reStructuredText) Question

Rest version of "Soap Headers and Handlers"

I have a question about

Rest web services

In soap, we can use
SOAP handlers
to process the request before execution. For example we can parse Soap Headers in Soap Handlers before we are doing the real job.

Is there something like that in Rest services?
Rest headers
Rest handlers


Answer Source

I guess you are working on client side. If you use jersey framework for rest request , you can use filter implementations. Otherwise If you use apache httpclient, you can use handler implementations.

Jersey docs:

apache docs: