@Override
    protected APIActivityRecord toExternalRecord(ActivityRecord record) {
        return new APIActivityRecord(record);
    }
Creates a new UserHistoryResource which exposes the user session history
records of the given ActivityRecordSet.

@param history
    The ActivityRecordSet whose records should be exposed.
guacamole/src/main/java/org/apache/guacamole/rest/history/UserHistoryResource.java