Uses of Class
com.restfb.batch.BatchRequest.BatchRequestBuilder
Packages that use BatchRequest.BatchRequestBuilder
-
Uses of BatchRequest.BatchRequestBuilder in com.restfb.batch
Methods in com.restfb.batch that return BatchRequest.BatchRequestBuilderModifier and TypeMethodDescriptionBatchRequest.BatchRequestBuilder.attachedFiles
(String attachedFiles) Sets the comma-delimited names of any attached files for this builder, for example"cat1, cat2"
.Sets the request body parameters for the request generated by this builder, for exampleParameter.with("message", "Test status update")
.Specifies if the request generated by this builder depends on the completion of another call in the current batch, for example"first"
.BatchRequest.BatchRequestBuilder.headers
(BatchHeader... headers) Sets the list of HTTP headers for the request generated by this builder.Sets the HTTP method for the request generated by this builder, for example"POST"
(GET
is the default value for this builder).Sets the logical name for the request generated by this builder.BatchRequest.BatchRequestBuilder.omitResponseOnSuccess
(boolean omitResponseOnSuccess) To make sure FB returns JSON in the event that this builder's request completes successfully, set this tofalse
.BatchRequest.BatchRequestBuilder.parameters
(Parameter... parameters) Specifies URL parameters for the request generated by this builder.