public class UploadCallback extends Object implements AsyncRequestCallback
| Constructor and Description |
|---|
UploadCallback(TaskListener<String> listener,
ServerConnector serverConnector,
String targetUrl,
byte[] bytes,
String contentType,
String mediaType) |
| Modifier and Type | Method and Description |
|---|---|
void |
onComplete(Response response) |
void |
onFail(Throwable throwable) |
void |
uploadDataAsync() |
public UploadCallback(TaskListener<String> listener, ServerConnector serverConnector, String targetUrl, byte[] bytes, String contentType, String mediaType)
public void onComplete(Response response)
onComplete in interface AsyncRequestCallbackpublic void onFail(Throwable throwable)
onFail in interface AsyncRequestCallbackpublic void uploadDataAsync()
Copyright © 2022. All rights reserved.