public String toString() {
        return "Document" + super.toString() + (document == null ? "" : " " + document);
    }
Returns the document of this response, or null if there is none

@return the Document, or null
documentapi/src/main/java/com/yahoo/documentapi/DocumentResponse.java