public static void remapping( String workspace, String store, StringBuilder itemPath, String initialFileName, Map<String, String> storeParams) throws IOException { // Selection of the available PathMapper List<RESTUploadPathMapper> mappers = GeoServerExtensions.extensions(RESTUploadPathMapper.class); // Mapping the item path for (RESTUploadPathMapper mapper : mappers) { mapper.mapItemPath(workspace, store, storeParams, itemPath, initialFileName); } }
mapper.mapStorePath(root, workspaceName, storeName, storeParams);
mapper.mapStorePath(root, workspaceName, storeName, storeParams);