RestTemplate template = new RestTemplate();
PropertiesFactoryBean propertiesFactoryBean = new PropertiesFactoryBean();
propertiesFactoryBean.setLocation(new ClassPathResource("/org/springframework/batch/admin/web/manager/json-resources.properties"));
propertiesFactoryBean.afterPropertiesSet();
Properties properties = propertiesFactoryBean.getObject();
for (String path : properties.stringPropertyNames()) {
if (!StringUtils.hasText(path) || !path.startsWith("GET")) {
continue;