private String getEndpointMappedPattern(final RestActuatorControllerEndpoint endpoint, final PathPattern pattern) {
        return this.endpointMapping.createSubPath(endpoint.getRootPath() + pattern);
    }
This is {@link RestActuatorEndpointHandlerMapping}.

@author Misagh Moayyed
@since 7.1.0
api/cas-server-core-api-util/src/main/java/org/apereo/cas/util/spring/RestActuatorEndpointHandlerMapping.java