use of org.glassfish.jersey.server.model.Resource in project graylog2-server by Graylog2.
the class PrintModelProcessor method findChildResources.
private List<Resource> findChildResources(Resource parentResource) {
final List<Resource> childResources = new ArrayList<>();
for (Resource resource : parentResource.getChildResources()) {
childResources.add(resource);
childResources.addAll(findChildResources(resource));
}
return childResources;
}
Aggregations