File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
modules/examples/src/main/java Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ public static void main(String[] args) {
39
39
.execute ()
40
40
.getResult ();
41
41
42
- // Note: for byte response (Output Stream) use:
43
- //InputStream resultAsInputStream =
42
+ // Note: for response byte stream use:
43
+ //InputStream documentAsByteStream =
44
44
// client.getDocumentAsStream(documentInfoOptions)
45
45
// .execute()
46
46
// .getResult();
@@ -58,12 +58,12 @@ public static void main(String[] args) {
58
58
.document (document )
59
59
.build ();
60
60
61
- //Note: for byte request (Input Stream) use:
61
+ //Note: for request byte stream use:
62
62
//PostDocumentOptions updateDocumentOptions =
63
63
// new PostDocumentOptions.Builder()
64
64
// .db(exampleDbName)
65
65
// .contentType("application/json")
66
- // .body(inputStream )
66
+ // .body(documentAsByteStream )
67
67
// .build();
68
68
69
69
DocumentResult updateDocumentResponse = client
You can’t perform that action at this time.
0 commit comments