@Override
    protected APIConnectionRecord toExternalRecord(ConnectionRecord record) {
        return new APIConnectionRecord(record);
    }
Creates a new ConnectionHistoryResource which exposes the connection
history records of the given ActivityRecordSet.

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