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 BinaryAttachmentBinaryAttachment.with(String filename, InputStream data) Deprecated.static BinaryAttachmentBinaryAttachment.with(String filename, InputStream data, String contentType) Deprecated.use the stream-less API passing abyte[]for data insteadstatic BinaryAttachmentCreates a binary attachment.static BinaryAttachmentCreates a binary attachment.static BinaryAttachmentBinaryAttachment.with(String fieldName, String filename, InputStream data) Deprecated.use the stream-less API passing abyte[]for datastatic BinaryAttachmentBinaryAttachment.with(String fieldName, String filename, InputStream data, String contentType) Deprecated.use the stream-less API passing abyte[]for dataMethods in com.restfb that return types with arguments of type BinaryAttachmentMethods in com.restfb with parameters of type BinaryAttachmentModifier and TypeMethodDescriptionprotected StringDefaultWebRequestor.createFormFieldName(BinaryAttachment binaryAttachment) Creates the form field name for the binary attachment filename by stripping off the file extension - for example, the filename "test.png" would return "test".<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.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) Coordinates the process of executing the API request GET/POST and processing the response we receive from the endpoint.protected StringDefaultFacebookClient.makeRequest(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.voidWebRequestor.Request.setBinaryAttachments(List<BinaryAttachment> binaryAttachments) Constructor parameters in com.restfb with type arguments of type BinaryAttachment -
Uses of BinaryAttachment in com.restfb.types
Subclasses of BinaryAttachment in com.restfb.typesModifier and TypeClassDescriptionclassAttachment object for uploading a Reel to Facebook.
byte[]for data