private void addResponse(Response response) {
        if (handler != null) {
            handler.handleResponse(response);
        } else {
            responses.add(response);
        }
    }
Sets the result type returned on subsequence operations against this. Only SUCCESS will cause Responses to appear.
documentapi/src/main/java/com/yahoo/documentapi/local/LocalAsyncSession.java