WSO2 APIM: The Difference Between Class Proxies and User Handlers

Can someone explain to me the difference between a class mediator and a custom handler in detail what use cases these two mediators use.

+4
source share
1 answer

Existing handlers are executed first in the request thread. After this, mediation sequences are performed. But if you write a custom handler, you can put it after the mediation sequences, because mediation sequences are also executed by the handler (APIManagerExtensionHandler). Therefore, if you place your handler after the APIManagerExtensionHandler, it will execute after the mediation sequences.

, , , 2 . (.. mediate()). , , .

, . - Java-.

.

+1

Source: https://habr.com/ru/post/1661998/


All Articles