List<Resource> resourceList = appResources.getResource(); for (Resource appResource : resourceList) { String path = appResource.getPath(); if (RestPaths.SLIDER_CONTEXT_ROOT.equals(path)) { List<Object> sliderResources = appResource.getMethodOrResource(); if (sliderRes instanceof Resource) { Resource res = (Resource) sliderRes; if (RestPaths.SLIDER_SUBPATH_AGENTS.equals(res.getPath())) {
List<Resource> resourceList = appResources.getResource(); for (Resource appResource : resourceList) { String path = appResource.getPath(); if (RestPaths.SLIDER_CONTEXT_ROOT.equals(path)) { List<Object> sliderResources = appResource.getMethodOrResource(); if (sliderRes instanceof Resource) { Resource res = (Resource) sliderRes; if (RestPaths.SLIDER_SUBPATH_AGENTS.equals(res.getPath())) {