Uses of Class
com.azure.core.util.BinaryData
Packages that use BinaryData
Package
Description
Package containing HTTP abstractions between the AnnotationParser, RestProxy, and HTTP client.
Package containing REST-related APIs.
Package containing core model classes.
Package containing core utility classes.
-
Uses of BinaryData in com.azure.core.http
Methods in com.azure.core.http that return BinaryDataModifier and TypeMethodDescriptionHttpRequest.getBodyAsBinaryData()Get the request content.HttpResponse.getBodyAsBinaryData()Gets theBinaryDatathat represents the body of the response.Methods in com.azure.core.http with parameters of type BinaryDataConstructors in com.azure.core.http with parameters of type BinaryDataModifierConstructorDescriptionHttpRequest(HttpMethod httpMethod, URL url, HttpHeaders headers, BinaryData body) Create a new HttpRequest instance. -
Uses of BinaryData in com.azure.core.http.rest
Methods in com.azure.core.http.rest with parameters of type BinaryDataModifier and TypeMethodDescriptionRequestOptions.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 BinaryDataModifier and TypeMethodDescriptionMessageContent.getBodyAsBinaryData()Gets the message body.CloudEvent.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[].Methods in com.azure.core.models with parameters of type BinaryDataModifier and TypeMethodDescriptionMessageContent.setBodyAsBinaryData(BinaryData binaryData) Sets the message body.Constructors in com.azure.core.models with parameters of type BinaryDataModifierConstructorDescriptionCloudEvent(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 BinaryDataModifier and TypeMethodDescriptionstatic BinaryDataBinaryData.fromByteBuffer(ByteBuffer data) Creates an instance ofBinaryDatafrom the givenByteBuffer.static BinaryDataBinaryData.fromBytes(byte[] data) Creates an instance ofBinaryDatafrom the given byte array.static BinaryDataCreates aBinaryDatathat uses the content of the file atPathas its data.static BinaryDataCreates aBinaryDatathat uses the content of the file atfileas its data.static BinaryDataCreates aBinaryDatathat uses the content of the file atfileas its data.static BinaryDataCreates 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.fromStream(InputStream inputStream, Long length) Creates an instance ofBinaryDatafrom the givenInputStream.static BinaryDataBinaryData.fromString(String data) Creates an instance ofBinaryDatafrom the givenString.BinaryData.toReplayableBinaryData()Converts theBinaryDatainto aBinaryDatathat is replayable, i.e.Methods in com.azure.core.util that return types with arguments of type BinaryDataModifier and TypeMethodDescriptionstatic Mono<BinaryData>BinaryData.fromFlux(Flux<ByteBuffer> data) static Mono<BinaryData>BinaryData.fromFlux(Flux<ByteBuffer> data, Long length) static Mono<BinaryData>BinaryData.fromFlux(Flux<ByteBuffer> data, Long length, boolean bufferContent) 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.static Mono<BinaryData>BinaryData.fromStreamAsync(InputStream inputStream, Long length) Creates an instance ofBinaryDatafrom the givenInputStream.BinaryData.toReplayableBinaryDataAsync()Converts theBinaryDatainto aBinaryDatathat is replayable, i.e.