We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0490795 commit 7f4887bCopy full SHA for 7f4887b
hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/gclient/IEntityResult.java
@@ -14,6 +14,15 @@ public interface IEntityResult {
14
String getMimeType();
15
16
@NonNull
17
+ /**
18
+ * Gets the response body as an InputStream.
19
+ *
20
+ * <p><strong>Warning:</strong> The returned stream can only be read once.
21
+ * Subsequent calls to this method will return the same exhausted stream.
22
+ * Consider copying the content to a byte array if multiple reads are needed.</p>
23
24
+ * @return The response body as an InputStream (single-use only)
25
+ */
26
InputStream getInputStream();
27
28
int getStatusCode();
0 commit comments