List<WFSRecording> recordingList = wfsm.getWFSRecordings();
List<String> recordingNames = new ArrayList<String>(recordingList.size());
for (WFSRecording recording : recordingList) {
recordingNames.add(recording.getName());
}
WFSRecordingList wfsRecordings = new WFSRecordingList(recordingNames.toArray(new String[0]));
/* Send the serialized recording names to the client */
return Response.ok(wfsRecordings).build();
}