Uses of Class
com.azure.core.util.BinaryData
-
Packages that use BinaryData Package Description com.azure.core.http.rest Package containing REST-related APIs.com.azure.core.models Package containing core model classes.com.azure.core.util Package containing core utility classes. -
-
Uses of BinaryData in com.azure.core.http.rest
Methods in com.azure.core.http.rest with parameters of type BinaryData Modifier and Type Method Description RequestOptionsRequestOptions. setBody(BinaryData requestBody)Sets the body to send as part of the HTTP request. -
Uses of BinaryData in com.azure.core.models
Methods in com.azure.core.models that return BinaryData Modifier and Type Method Description BinaryDataCloudEvent. getData()Get the data associated with this event as aBinaryData, which has API to deserialize the data into a String, an Object, or a byte[].Constructors in com.azure.core.models with parameters of type BinaryData Constructor Description CloudEvent(String source, String type, BinaryData data, CloudEventDataFormat format, String dataContentType)Create an instance ofCloudEvent. -
Uses of BinaryData in com.azure.core.util
Methods in com.azure.core.util that return BinaryData Modifier and Type Method Description static BinaryDataBinaryData. fromBytes(byte[] data)Creates an instance ofBinaryDatafrom the given byte array.static BinaryDataBinaryData. fromFile(Path file)Creates aBinaryDatathat uses the content of the file atPathas its data.static BinaryDataBinaryData. fromFile(Path file, int chunkSize)Creates aBinaryDatathat uses the content of the file atfileas its data.static BinaryDataBinaryData. fromObject(Object data)static BinaryDataBinaryData. fromObject(Object data, ObjectSerializer serializer)static BinaryDataBinaryData. fromStream(InputStream inputStream)Creates an instance ofBinaryDatafrom the givenInputStream.static BinaryDataBinaryData. fromString(String data)Creates an instance ofBinaryDatafrom the givenString.Methods in com.azure.core.util that return types with arguments of type BinaryData Modifier and Type Method Description static Mono<BinaryData>BinaryData. fromFlux(Flux<ByteBuffer> data)static Mono<BinaryData>BinaryData. fromFlux(Flux<ByteBuffer> data, Long length)static Mono<BinaryData>BinaryData. fromObjectAsync(Object data)static Mono<BinaryData>BinaryData. fromObjectAsync(Object data, ObjectSerializer serializer)static Mono<BinaryData>BinaryData. fromStreamAsync(InputStream inputStream)Creates an instance ofBinaryDatafrom the givenInputStream.
-