authorization java rest spring-boot

How to Get All Endpoints List After Startup, Spring Boot

I have a rest service written with spring boot. I want to get all endpoints after start up. How can i achieve that?
Purpose of this, i want to save all endpoints to a db after start up (if they are not already exist) and use these for authorization. These entries will be inject into roles and roles will be used to create tokens.