public final class BlobDownloadResponse extends com.microsoft.rest.v2.RestResponse<BlobDownloadHeaders,io.reactivex.Flowable<ByteBuffer>> implements Closeable
Constructor and Description |
---|
BlobDownloadResponse(int statusCode,
BlobDownloadHeaders headers,
Map<String,String> rawHeaders,
io.reactivex.Flowable<ByteBuffer> body)
Creates an instance of BlobDownloadResponse.
|
Modifier and Type | Method and Description |
---|---|
io.reactivex.Flowable<ByteBuffer> |
body() |
void |
close()
Disposes of the connection associated with this stream response.
|
BlobDownloadHeaders |
headers() |
public BlobDownloadResponse(int statusCode, BlobDownloadHeaders headers, Map<String,String> rawHeaders, io.reactivex.Flowable<ByteBuffer> body)
statusCode
- the status code of the HTTP response.headers
- the deserialized headers of the HTTP response.rawHeaders
- the raw headers of the HTTP response.body
- the body content stream.public BlobDownloadHeaders headers()
headers
in class com.microsoft.rest.v2.RestResponse<BlobDownloadHeaders,io.reactivex.Flowable<ByteBuffer>>
public io.reactivex.Flowable<ByteBuffer> body()
body
in class com.microsoft.rest.v2.RestResponse<BlobDownloadHeaders,io.reactivex.Flowable<ByteBuffer>>
public void close()
close
in interface Closeable
close
in interface AutoCloseable
This documentation was released into the public domain.