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 BinaryAttachment
Creates a binary attachment.static BinaryAttachment
Creates a binary attachment.static BinaryAttachment
BinaryAttachment.with
(String filename, InputStream data) Deprecated.static BinaryAttachment
BinaryAttachment.with
(String filename, InputStream data, String contentType) Deprecated.use the stream-less API passing abyte[]
for data insteadstatic BinaryAttachment
Creates a binary attachment.static BinaryAttachment
Creates a binary attachment.static BinaryAttachment
BinaryAttachment.with
(String fieldName, String filename, InputStream data) Deprecated.use the stream-less API passing abyte[]
for datastatic BinaryAttachment
BinaryAttachment.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 String
DefaultWebRequestor.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> T
DefaultFacebookClient.publish
(String connection, Class<T> objectType, BinaryAttachment binaryAttachment, Parameter... parameters) <T> T
FacebookClient.publish
(String connection, Class<T> objectType, BinaryAttachment binaryAttachment, Parameter... parameters) Performs a Graph API publish operation on the givenconnection
and 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 String
DefaultFacebookClient.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 String
DefaultFacebookClient.makeRequest
(String endpoint, boolean executeAsPost, boolean executeAsDelete, List<BinaryAttachment> binaryAttachments, Parameter... parameters) <T> T
DefaultFacebookClient.publish
(String connection, Class<T> objectType, List<BinaryAttachment> binaryAttachments, Parameter... parameters) <T> T
FacebookClient.publish
(String connection, Class<T> objectType, List<BinaryAttachment> binaryAttachments, Parameter... parameters) Performs a Graph API publish operation on the givenconnection
and includes some files - photos, for example - in the publish request, and mapping the result to an instance ofobjectType
.void
WebRequestor.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 TypeClassDescriptionclass
Attachment object for uploading a Reel to Facebook.
byte[]
for data