0
  1. By extending the AbstractPhaseInterceptor. (org.apache.cxf.phase.AbstractPhaseInterceptor) https://cxf.apache.org/docs/interceptors.html

  2. By implementing the HandlerInterceptor https://www.tutorialspoint.com/spring_boot/spring_boot_interceptor.htm

Which one is the best choice for Spring boot microservice creation?

Lisbon
  • 126
  • 1
  • 1
  • 12
  • (1) is the apache CXF stuff . nothing to do with spring-boot..... – Ken Chan Dec 28 '21 at 15:20
  • you suggest that implementing HandlerInterceptor is the better way? – Lisbon Dec 28 '21 at 16:22
  • 1
    forget about (1) ,it is nothing to do with spring-boot. it is the stuff from another open source project called CXF , and you are asking the best choice for **spring-boot** – Ken Chan Dec 28 '21 at 16:30

0 Answers0