FileReadAsyncResponse Class

public final class FileReadAsyncResponse
extends ResponseBase<FileReadHeaders,Flux<ByteBuffer>>

This class contains the response information returned from the server when reading a file.

Constructor Summary

Constructor Description
FileReadAsyncResponse(HttpRequest request, int statusCode, HttpHeaders headers, Flux<ByteBuffer> value, FileReadHeaders deserializedHeaders)

Constructs a FileReadAsyncResponse.

Methods inherited from ResponseBase

Methods inherited from java.lang.Object

Constructor Details

FileReadAsyncResponse

public FileReadAsyncResponse(HttpRequest request, int statusCode, HttpHeaders headers, Flux value, FileReadHeaders deserializedHeaders)

Constructs a FileReadAsyncResponse.

Parameters:

request - Request sent to the service.
statusCode - Response status code returned by the service.
headers - Raw headers returned in the response.
value - Stream of download data being returned by the service.
deserializedHeaders - Headers deserialized into an object.

Applies to