Package com.codename1.cloud


package com.codename1.cloud

Cloud services: remote configuration, and the legacy property-binding hook.

RemoteConfig provides remote configuration and feature flags over a RemoteConfigProvider: FirebaseRemoteConfigProvider for Firebase Remote Config over REST, or JsonUrlRemoteConfigProvider for a self-hosted JSON file. Cloud Firestore lives in com.codename1.cloud.firebase.

BindTarget maps to an older iteration of the properties framework that has since been superseded by com.codename1.properties.

  • Class
    Description
    Allows binding arbitrary components to data storage
    Helpers shared by the REST clients: JSON bodies and the response handlers.
    What #retryOn401(CloudHttpTransport.Handler, Reauthenticator) does when a request is refused with 401: refresh the credentials, then send the same request again without another retry.
    A failed request to a cloud REST service, with the HTTP status and the response body the service sent.
    A binary HTTP transport for the REST clients in com.codename1.cloud: Firebase Storage, Supabase and the Places providers.
    Receives the response of a request.
    The default CloudHttpTransport, built on ConnectionRequest and the NetworkManager queue.
    A RemoteConfigProvider for Firebase Remote Config, over the same REST endpoints the Firebase web SDK uses.
    A RemoteConfigProvider that reads a flat JSON object from a URL, for self-hosted configuration.
    Remote configuration and feature flags with defaults, a fetch cache and an explicit activation step.
    A source of remote configuration values for RemoteConfig.