def METHOD_NAME(self, uri, **kwargs):
    parsed_uri = url_parse(uri)
    # Add http:// protocol so uri.netloc is correctly parsed.
    server_name = current_app.config.get('SERVER_NAME')
    parsed_server = url_parse(ensure_scheme(server_name))
    if parsed_uri.netloc and parsed_uri.netloc != parsed_server.netloc:
        return super(AbstractRecordLoader, self).METHOD_NAME(uri,
                                                                 **kwargs)
    path_parts = parsed_uri.path.strip('/').split('/')
    if len(path_parts) < 2:
        current_app.logger.error('Bad JSONref URI: {0}'.format(uri))
        return None
    endpoint = path_parts[-2]
    pid_type = get_pid_type_from_endpoint(endpoint)
    recid = path_parts[-1]
    res = self.get_record(pid_type, recid)
    return res