com.coinbase.cdp.core
Constructor Details
FileStream
Overload 1
inputStream - InputStream
Overload 2
inputStream (InputStream) - The input stream of the file content. Must not be null.
fileName (String) - The name of the file, or null if unknown.
contentType (okhttp3.MediaType) - The MIME type of the file content, or null if unknown.
Throws:
[NullPointerException](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/NullPointerException.html "class or interface in java.lang") - if inputStream is null
Method Details
getInputStream
InputStream
getFileName
String
getContentType
okhttp3.MediaType
toRequestBody
okhttp3.RequestBody - A RequestBody instance representing this file stream.