| Package | Description |
|---|---|
| com.codename1.io |
Networking, Storage, Filesystem & related API's
|
| com.codename1.io.rest |
Simplified REST API
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Util.downloadUrlSafely(String url,
String fileName,
OnComplete<Integer> percentageCallback,
OnComplete<String> filesavedCallback)
Safely download the given URL to the Storage or to the FileSystemStorage:
this method is resistant to network errors and capable of resume the
download as soon as network conditions allow and in a completely
transparent way for the user; note that in the global network error
handling, there must be an automatic
|
static void |
Util.downloadUrlSafely(String url,
String fileName,
OnComplete<Integer> percentageCallback,
OnComplete<String> filesavedCallback)
Safely download the given URL to the Storage or to the FileSystemStorage:
this method is resistant to network errors and capable of resume the
download as soon as network conditions allow and in a completely
transparent way for the user; note that in the global network error
handling, there must be an automatic
|
| Modifier and Type | Method and Description |
|---|---|
ConnectionRequest |
RequestBuilder.fetchAsBytes(OnComplete<Response<byte[]>> callback)
Executes the request asynchronously and writes the response to the provided
Callback
|
ConnectionRequest |
RequestBuilder.fetchAsJsonMap(OnComplete<Response<Map>> callback)
Executes the request asynchronously and writes the response to the provided
Callback
|
ConnectionRequest |
RequestBuilder.fetchAsProperties(OnComplete<Response<PropertyBusinessObject>> callback,
Class type)
Executes the request asynchronously and writes the response to the provided
Callback.
|
ConnectionRequest |
RequestBuilder.fetchAsPropertyList(OnComplete<Response<List<PropertyBusinessObject>>> callback,
Class type)
Executes the request asynchronously and writes the response to the provided
Callback.
|
ConnectionRequest |
RequestBuilder.fetchAsPropertyList(OnComplete<Response<List<PropertyBusinessObject>>> callback,
Class type,
String root)
Executes the request asynchronously and writes the response to the provided
Callback.
|
ConnectionRequest |
RequestBuilder.fetchAsString(OnComplete<Response<String>> callback)
Executes the request asynchronously and writes the response to the provided
Callback
|
Copyright © 2021. All rights reserved.