File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
core-services/prompt-registry/src/main/java/com/sap/ai/sdk/prompt/registry Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1616import org .springframework .util .StreamUtils ;
1717
1818/**
19- * A custom {@link HttpMessageConverter} that enables Spring's RestTemplate to read and write {@link
20- * java.io.File} objects for {@code application/octet-stream} payloads.
19+ * A custom implementation {@link HttpMessageConverter} for Spring's RestTemplate to read and write
20+ * {@link java.io.File} objects in {@code application/octet-stream} payloads.
2121 *
2222 * @see org.springframework.http.converter.AbstractHttpMessageConverter
2323 */
@@ -41,10 +41,10 @@ protected boolean supports(@Nonnull final Class clazz) {
4141 }
4242
4343 /**
44- * Reads the {@link HttpInputMessage} body into a new temporary file and returns it .
44+ * Reads the {@link HttpInputMessage} body into a new file in system's temporary directory .
4545 *
46- * <p>A temporary file is created in the system temp directory and the response body is streamed
47- * directly into this file without buffering the entire content in memory.
46+ * <p>The response body is streamed directly into this file without buffering the entire content
47+ * in memory.
4848 *
4949 * <p>The caller is responsible for deleting the returned file.
5050 *
You can’t perform that action at this time.
0 commit comments