Class EndpointDocService


  • @Service("endpointDocService")
    public class EndpointDocService
    extends java.lang.Object
    Service class for the EndpointDocController.
    Author:
    Christian Mayer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<org.springframework.web.servlet.mvc.method.RequestMappingInfo> getEndpoints​(org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping requestMappingHandlerMapping)
      Returns all RequestMappingInfo instances from type and method-level @RequestMapping annotations in @Controller classes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EndpointDocService

        public EndpointDocService()
    • Method Detail

      • getEndpoints

        @PreAuthorize("hasRole(@configHolder.getSuperAdminRoleName())")
        public java.util.Set<org.springframework.web.servlet.mvc.method.RequestMappingInfo> getEndpoints​(org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping requestMappingHandlerMapping)
        Returns all RequestMappingInfo instances from type and method-level @RequestMapping annotations in @Controller classes.
        Parameters:
        requestMappingHandlerMapping - The RequestMappingInfo collection of Spring
        Returns:
        A set of RequestMappingInfo