public interface AttachmentServiceAsync extends AttachmentService
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.Future<Attachment> |
attachAsync(AttachmentRequest attachmentRequest)
Attachs the attach data.
|
java.util.concurrent.Future<Attachment> |
attachAsync(AttachmentRequest attachmentRequest,
AsyncHandler<AttachmentRequest,Attachment> asyncHandler)
Attachs the attach data.
|
attachsetEndpoint, shutdownjava.util.concurrent.Future<Attachment> attachAsync(AttachmentRequest attachmentRequest) throws AuthClientException
attachmentRequest - the given attachment request data.AuthClientException - if an error occurs during attach data.java.util.concurrent.Future<Attachment> attachAsync(AttachmentRequest attachmentRequest, AsyncHandler<AttachmentRequest,Attachment> asyncHandler) throws AuthClientException
attachmentRequest - the given attachment request data.asyncHandler - callback handler for events in the life-cycle of the request.
Users could provide the implementation of the for callback
methods in this interface to process the operation result or
handle the exception.AuthClientException - if an error occurs during attach data.