Uses of Class
com.restfb.BinaryAttachment
Packages that use BinaryAttachment
Package
Description
Contains types used to interact with the Facebook
Graph API.
Default implementations of Facebook
Graph API Objects.
-
Uses of BinaryAttachment in com.restfb
Methods in com.restfb that return BinaryAttachmentModifier and TypeMethodDescriptionstatic BinaryAttachmentCreates a binary attachment.static BinaryAttachmentCreates a binary attachment.static BinaryAttachmentCreates a binary attachment.static BinaryAttachmentCreates a binary attachment.static BinaryAttachmentBinaryAttachment.with(String fieldName, String filename, Supplier<InputStream> dataSupplier) Creates a binary attachment backed by a stream supplier.static BinaryAttachmentBinaryAttachment.with(String fieldName, String filename, Supplier<InputStream> dataSupplier, String contentType) Creates a binary attachment backed by a stream supplier.static BinaryAttachmentBinaryAttachment.with(String filename, Supplier<InputStream> dataSupplier) Creates a binary attachment backed by a stream supplier.static BinaryAttachmentBinaryAttachment.with(String filename, Supplier<InputStream> dataSupplier, String contentType) Creates a binary attachment backed by a stream supplier.Methods in com.restfb that return types with arguments of type BinaryAttachmentMethods in com.restfb with parameters of type BinaryAttachmentModifier and TypeMethodDescription<T> TDefaultFacebookClient.publish(String connection, Class<T> objectType, BinaryAttachment binaryAttachment, Parameter... parameters) <T> TFacebookClient.publish(String connection, Class<T> objectType, BinaryAttachment binaryAttachment, Parameter... parameters) Performs a Graph API publish operation on the givenconnectionand includes a file - a photo, for example - in the publish request, and mapping the result to an instance ofobjectType.<T> ApiResult<T>DefaultFacebookClient.publishWithResult(String connection, Class<T> objectType, BinaryAttachment binaryAttachment, Parameter... parameters) default <T> ApiResult<T>FacebookClient.publishWithResult(String connection, Class<T> objectType, BinaryAttachment binaryAttachment, Parameter... parameters) Variant ofFacebookClient.publish(String, Class, BinaryAttachment, Parameter...)that additionally exposes response metadata.Method parameters in com.restfb with type arguments of type BinaryAttachmentModifier and TypeMethodDescriptionprotected StringDefaultFacebookClient.makeRequest(String endpoint, boolean executeAsPost, boolean executeAsDelete, List<BinaryAttachment> binaryAttachments, Body body, Parameter... parameters) protected StringDefaultFacebookClient.makeRequest(String endpoint, boolean executeAsPost, boolean executeAsDelete, List<BinaryAttachment> binaryAttachments, Parameter... parameters) protected WebRequestor.ResponseDefaultFacebookClient.makeRequestForResponse(String endpoint, boolean executeAsPost, boolean executeAsDelete, List<BinaryAttachment> binaryAttachments, Body body, Parameter... parameters) protected WebRequestor.ResponseDefaultFacebookClient.makeRequestForResponse(String endpoint, boolean executeAsPost, boolean executeAsDelete, List<BinaryAttachment> binaryAttachments, Parameter... parameters) DefaultFacebookClient.makeRequestWithMetadata(String endpoint, boolean executeAsPost, boolean executeAsDelete, List<BinaryAttachment> binaryAttachments, Body body, Parameter... parameters) Coordinates the process of executing the API request GET/POST and returning the raw response.DefaultFacebookClient.makeRequestWithMetadata(String endpoint, boolean executeAsPost, boolean executeAsDelete, List<BinaryAttachment> binaryAttachments, Parameter... parameters) <T> TDefaultFacebookClient.publish(String connection, Class<T> objectType, List<BinaryAttachment> binaryAttachments, Parameter... parameters) <T> TFacebookClient.publish(String connection, Class<T> objectType, List<BinaryAttachment> binaryAttachments, Parameter... parameters) Performs a Graph API publish operation on the givenconnectionand includes some files - photos, for example - in the publish request, and mapping the result to an instance ofobjectType.<T> ApiResult<T>DefaultFacebookClient.publishWithResult(String connection, Class<T> objectType, List<BinaryAttachment> binaryAttachments, Parameter... parameters) default <T> ApiResult<T>FacebookClient.publishWithResult(String connection, Class<T> objectType, List<BinaryAttachment> binaryAttachments, Parameter... parameters) Variant ofFacebookClient.publish(String, Class, List, Parameter...)that additionally exposes response metadata.voidWebRequestor.Request.setBinaryAttachments(List<BinaryAttachment> binaryAttachments) Constructor parameters in com.restfb with type arguments of type BinaryAttachment -
Uses of BinaryAttachment in com.restfb.request
Method parameters in com.restfb.request with type arguments of type BinaryAttachmentModifier and TypeMethodDescriptionvoidMultipartFormBodyPublisher.addAttachments(List<BinaryAttachment> attachments) -
Uses of BinaryAttachment in com.restfb.types
Subclasses of BinaryAttachment in com.restfb.typesModifier and TypeClassDescriptionclassAttachment object for uploading a Reel to Facebook.