dimanche 12 novembre 2017

SpringBoot 1.5.7 - Does code-to-interface principle applies to @restcontroller classes and why?

Hello Spring Community,

AFAIK, Code to interface principle make life easier to spring, so it will use JDK proxy and not CGLib proxy.

So this applies to RestController classes ? will spring need to create proxy classes for restController classes ? maybe only if i have some AOP in there ?

Thanks in advance for your helps.

Aucun commentaire:

Enregistrer un commentaire