Skip navigation links
A B C D E F G H I J L M N O P R S T U V W 

A

addHeader(String, String) - Method in interface org.aerogear.mobile.core.http.HttpRequest
 
addHeader(String, String) - Method in class org.aerogear.mobile.core.http.OkHttpRequest
 
addProperty(String, String) - Method in class org.aerogear.mobile.core.configuration.ServiceConfiguration.Builder
 
AppExecutors - Class in org.aerogear.mobile.core.executor
Inspired by https://github.com/googlesamples/android-architecture/blob/todo-mvp/todoapp/app/src/main/java/com/example/android/architecture/blueprints/todoapp/util/AppExecutors.java
AppExecutors() - Constructor for class org.aerogear.mobile.core.executor.AppExecutors
 
APPLICATION_ID - Static variable in class org.aerogear.android.core.BuildConfig
 
AppMetrics - Class in org.aerogear.mobile.core.metrics.impl
Collects app metrics
AppMetrics(Context) - Constructor for class org.aerogear.mobile.core.metrics.impl.AppMetrics
 

B

build() - Method in class org.aerogear.mobile.core.configuration.ServiceConfiguration.Builder
 
BUILD_TYPE - Static variable in class org.aerogear.android.core.BuildConfig
 
BuildConfig - Class in org.aerogear.android.core
 
BuildConfig() - Constructor for class org.aerogear.android.core.BuildConfig
 
Builder() - Constructor for class org.aerogear.mobile.core.configuration.ServiceConfiguration.Builder
 

C

ClientIdGenerator - Class in org.aerogear.mobile.core.utils
Helper for generating ID's
ConfigurationNotFoundException - Exception in org.aerogear.mobile.core.exception
 
ConfigurationNotFoundException(String) - Constructor for exception org.aerogear.mobile.core.exception.ConfigurationNotFoundException
 
configure(MobileCore, ServiceConfiguration) - Method in class org.aerogear.mobile.core.http.OkHttpServiceModule
 
configure(MobileCore, ServiceConfiguration) - Method in class org.aerogear.mobile.core.metrics.MetricsService
 
configure(MobileCore, ServiceConfiguration) - Method in interface org.aerogear.mobile.core.ServiceModule
A method how create/configure the singleThreadService
CONTENT_TYPE_HEADER - Static variable in interface org.aerogear.mobile.core.http.HttpRequest
 

D

data() - Method in class org.aerogear.mobile.core.metrics.impl.AppMetrics
Return some app info
data() - Method in class org.aerogear.mobile.core.metrics.impl.DeviceMetrics
 
data() - Method in interface org.aerogear.mobile.core.metrics.Metrics
The data to be included under the identifier key in the metrics payload
DEBUG - Static variable in class org.aerogear.android.core.BuildConfig
 
debug(String, String) - Method in interface org.aerogear.mobile.core.logging.Logger
 
debug(String) - Method in interface org.aerogear.mobile.core.logging.Logger
 
debug(String, String, Exception) - Method in interface org.aerogear.mobile.core.logging.Logger
 
debug(String, Exception) - Method in interface org.aerogear.mobile.core.logging.Logger
 
debug(String, String) - Method in class org.aerogear.mobile.core.logging.LoggerAdapter
 
debug(String) - Method in class org.aerogear.mobile.core.logging.LoggerAdapter
 
debug(String, String, Exception) - Method in class org.aerogear.mobile.core.logging.LoggerAdapter
 
debug(String, Exception) - Method in class org.aerogear.mobile.core.logging.LoggerAdapter
 
DEFAULT_CONFIG_FILE_NAME - Static variable in class org.aerogear.mobile.core.MobileCore
 
delete(String) - Method in interface org.aerogear.mobile.core.http.HttpRequest
 
delete(String) - Method in class org.aerogear.mobile.core.http.OkHttpRequest
 
destroy() - Method in class org.aerogear.mobile.core.http.OkHttpServiceModule
 
destroy() - Method in class org.aerogear.mobile.core.metrics.MetricsService
 
destroy() - Method in class org.aerogear.mobile.core.MobileCore
Called when mobile core instance needs to be destroyed
destroy() - Method in interface org.aerogear.mobile.core.ServiceModule
Called when singleThreadService destroyed
DeviceMetrics - Class in org.aerogear.mobile.core.metrics.impl
Collects device metrics
DeviceMetrics(Context) - Constructor for class org.aerogear.mobile.core.metrics.impl.DeviceMetrics
 

E

error(String, String) - Method in interface org.aerogear.mobile.core.logging.Logger
 
error(String) - Method in interface org.aerogear.mobile.core.logging.Logger
 
error(String, String, Exception) - Method in interface org.aerogear.mobile.core.logging.Logger
 
error(String, Exception) - Method in interface org.aerogear.mobile.core.logging.Logger
 
error(String, String) - Method in class org.aerogear.mobile.core.logging.LoggerAdapter
 
error(String) - Method in class org.aerogear.mobile.core.logging.LoggerAdapter
 
error(String, String, Exception) - Method in class org.aerogear.mobile.core.logging.LoggerAdapter
 
error(String, Exception) - Method in class org.aerogear.mobile.core.logging.LoggerAdapter
 
execute() - Method in interface org.aerogear.mobile.core.http.HttpRequest
Create a HTTPResponse and begin executing the request.
execute() - Method in class org.aerogear.mobile.core.http.OkHttpRequest
 

F

FLAVOR - Static variable in class org.aerogear.android.core.BuildConfig
 

G

get(String) - Method in interface org.aerogear.mobile.core.http.HttpRequest
Prepares the request for an HTTP GET of the given URL.
get(String) - Method in class org.aerogear.mobile.core.http.OkHttpRequest
 
getAppVersion() - Static method in class org.aerogear.mobile.core.MobileCore
Get the version of the user app
getConfigFileName() - Method in class org.aerogear.mobile.core.MobileCore
 
getContext() - Method in class org.aerogear.mobile.core.MobileCore
Get application context
getError() - Method in interface org.aerogear.mobile.core.http.HttpResponse
Returns the request error if it failed
getHttpLayer() - Method in class org.aerogear.mobile.core.MobileCore
 
getInstance(Class<T>) - Method in class org.aerogear.mobile.core.MobileCore
 
getInstance(Class<T>, ServiceConfiguration) - Method in class org.aerogear.mobile.core.MobileCore
 
getLogger() - Static method in class org.aerogear.mobile.core.MobileCore
 
getName() - Method in class org.aerogear.mobile.core.configuration.ServiceConfiguration
 
getOrCreateClientId(Context) - Static method in class org.aerogear.mobile.core.utils.ClientIdGenerator
Get or create the client ID that identifies a device as long as the user doesn't reinstall the app or delete the app storage.
getProperties() - Method in class org.aerogear.mobile.core.configuration.ServiceConfiguration
 
getProperty(String) - Method in class org.aerogear.mobile.core.configuration.ServiceConfiguration
 
getPublisher() - Method in class org.aerogear.mobile.core.metrics.MetricsService
 
getSdkVersion() - Static method in class org.aerogear.mobile.core.MobileCore
Get the version name of the SDK itself
getServiceConfiguration(String) - Method in class org.aerogear.mobile.core.MobileCore
Returns the configuration for this singleThreadService from the JSON config file
getStatus() - Method in interface org.aerogear.mobile.core.http.HttpResponse
Returns the HTTP status code of the response.
getType() - Method in class org.aerogear.mobile.core.configuration.ServiceConfiguration
 
getUrl() - Method in class org.aerogear.mobile.core.configuration.ServiceConfiguration
 

H

HttpRequest - Interface in org.aerogear.mobile.core.http
Generic interface for requests to HTTP Services.
HttpResponse - Interface in org.aerogear.mobile.core.http
Generic interface for responses from HTTP Services.
HttpServiceModule - Interface in org.aerogear.mobile.core.http
 

I

identifier() - Method in class org.aerogear.mobile.core.metrics.impl.AppMetrics
 
identifier() - Method in class org.aerogear.mobile.core.metrics.impl.DeviceMetrics
 
identifier() - Method in interface org.aerogear.mobile.core.metrics.Metrics
The key to identify this record inside the metrics payload
info(String, String) - Method in interface org.aerogear.mobile.core.logging.Logger
 
info(String) - Method in interface org.aerogear.mobile.core.logging.Logger
 
info(String, String, Exception) - Method in interface org.aerogear.mobile.core.logging.Logger
 
info(String, Exception) - Method in interface org.aerogear.mobile.core.logging.Logger
 
info(String, String) - Method in class org.aerogear.mobile.core.logging.LoggerAdapter
 
info(String) - Method in class org.aerogear.mobile.core.logging.LoggerAdapter
 
info(String, String, Exception) - Method in class org.aerogear.mobile.core.logging.LoggerAdapter
 
info(String, Exception) - Method in class org.aerogear.mobile.core.logging.LoggerAdapter
 
init(Context) - Static method in class org.aerogear.mobile.core.MobileCore
Initialize the AeroGear system
init(Context, MobileCore.Options) - Static method in class org.aerogear.mobile.core.MobileCore
Initialize the AeroGear system
InitializationException - Exception in org.aerogear.mobile.core.exception
This is an unchecked exception that is thrown when bootstrapping a module fails.
InitializationException(String) - Constructor for exception org.aerogear.mobile.core.exception.InitializationException
 
InitializationException(String, Throwable) - Constructor for exception org.aerogear.mobile.core.exception.InitializationException
 
isA(T, Class<K>, String) - Static method in class org.aerogear.mobile.core.utils.SanityCheck
Checks that value is of type K.
isA(T, Class<K>, String, Object...) - Static method in class org.aerogear.mobile.core.utils.SanityCheck
Checks that value is of type K.

J

JSON_MIME_TYPE - Static variable in interface org.aerogear.mobile.core.http.HttpRequest
 

L

Logger - Interface in org.aerogear.mobile.core.logging
 
LoggerAdapter - Class in org.aerogear.mobile.core.logging
 
LoggerAdapter() - Constructor for class org.aerogear.mobile.core.logging.LoggerAdapter
 
LoggerMetricsPublisher - Class in org.aerogear.mobile.core.metrics.publisher
All metrics data will be logged only
LoggerMetricsPublisher(Logger) - Constructor for class org.aerogear.mobile.core.metrics.publisher.LoggerMetricsPublisher
 

M

mainThread() - Method in class org.aerogear.mobile.core.executor.AppExecutors
 
Metrics<T> - Interface in org.aerogear.mobile.core.metrics
Interface for a record to be published to the metrics service
MetricsPublisher - Interface in org.aerogear.mobile.core.metrics
 
MetricsService - Class in org.aerogear.mobile.core.metrics
 
MetricsService() - Constructor for class org.aerogear.mobile.core.metrics.MetricsService
 
MobileCore - Class in org.aerogear.mobile.core
MobileCore is the entry point into AeroGear mobile services
MobileCore.Options - Class in org.aerogear.mobile.core
 
MobileCoreJsonParser - Class in org.aerogear.mobile.core.configuration
This class is responsible for consuming a reader and producing a tree of config values to be consumed by modules.

N

name - Variable in class org.aerogear.mobile.core.configuration.ServiceConfiguration.Builder
 
NetworkMetricsPublisher - Class in org.aerogear.mobile.core.metrics.publisher
Sends metrics data to the backend using the configuration in JSON config file
NetworkMetricsPublisher(Context, HttpRequest, String) - Constructor for class org.aerogear.mobile.core.metrics.publisher.NetworkMetricsPublisher
 
networkThread() - Method in class org.aerogear.mobile.core.executor.AppExecutors
 
newConfiguration() - Static method in class org.aerogear.mobile.core.configuration.ServiceConfiguration
 
newRequest() - Method in interface org.aerogear.mobile.core.http.HttpServiceModule
Creates a new HttpRequest and prepends common configuration such as certificate pinning, user agent headers, etc.
newRequest() - Method in class org.aerogear.mobile.core.http.OkHttpServiceModule
 
nonEmpty(String, String) - Static method in class org.aerogear.mobile.core.utils.SanityCheck
Checks if the passed in value is an empty string.
nonEmpty(String, String, boolean) - Static method in class org.aerogear.mobile.core.utils.SanityCheck
Checks if the passed in value is an empty string.
nonEmpty(String, String, Object...) - Static method in class org.aerogear.mobile.core.utils.SanityCheck
Checks if the passed in value is an empty String.
nonEmpty(String, boolean, String, Object...) - Static method in class org.aerogear.mobile.core.utils.SanityCheck
Checks if the passed in value is an empty String.
nonNull(T, String) - Static method in class org.aerogear.mobile.core.utils.SanityCheck
Checks that the passed in value is not null.
nonNull(T, String, Object...) - Static method in class org.aerogear.mobile.core.utils.SanityCheck
Checks that the passed in value is not null.

O

OkHttpRequest - Class in org.aerogear.mobile.core.http
This is a implementation of HttpRequest based on OKHttp
OkHttpRequest(OkHttpClient, AppExecutors) - Constructor for class org.aerogear.mobile.core.http.OkHttpRequest
 
OkHttpServiceModule - Class in org.aerogear.mobile.core.http
 
OkHttpServiceModule() - Constructor for class org.aerogear.mobile.core.http.OkHttpServiceModule
This is the default no argument constructor for all ServiceModules.
OkHttpServiceModule(OkHttpClient) - Constructor for class org.aerogear.mobile.core.http.OkHttpServiceModule
This constructer uses a specific client for manual configurations and testing.
OkHttpServiceModule(OkHttpClient, ServiceConfiguration) - Constructor for class org.aerogear.mobile.core.http.OkHttpServiceModule
 
onComplete(Runnable) - Method in interface org.aerogear.mobile.core.http.HttpResponse
Creates a callback to be called when the response is finished (successful or unsuccessful).
onError(Runnable) - Method in interface org.aerogear.mobile.core.http.HttpResponse
Creates a callback to be called when the request has failed.
onSuccess(Runnable) - Method in interface org.aerogear.mobile.core.http.HttpResponse
Creates a callback to be called when the request has succeeded.
Options() - Constructor for class org.aerogear.mobile.core.MobileCore.Options
 
org.aerogear.android.core - package org.aerogear.android.core
 
org.aerogear.mobile.core - package org.aerogear.mobile.core
 
org.aerogear.mobile.core.configuration - package org.aerogear.mobile.core.configuration
 
org.aerogear.mobile.core.exception - package org.aerogear.mobile.core.exception
 
org.aerogear.mobile.core.executor - package org.aerogear.mobile.core.executor
 
org.aerogear.mobile.core.http - package org.aerogear.mobile.core.http
 
org.aerogear.mobile.core.logging - package org.aerogear.mobile.core.logging
 
org.aerogear.mobile.core.metrics - package org.aerogear.mobile.core.metrics
 
org.aerogear.mobile.core.metrics.impl - package org.aerogear.mobile.core.metrics.impl
 
org.aerogear.mobile.core.metrics.publisher - package org.aerogear.mobile.core.metrics.publisher
 
org.aerogear.mobile.core.utils - package org.aerogear.mobile.core.utils
 

P

parse(InputStream) - Static method in class org.aerogear.mobile.core.configuration.MobileCoreJsonParser
 
post(String, byte[]) - Method in interface org.aerogear.mobile.core.http.HttpRequest
 
post(String, byte[]) - Method in class org.aerogear.mobile.core.http.OkHttpRequest
 
properties - Variable in class org.aerogear.mobile.core.configuration.ServiceConfiguration.Builder
 
publish(Metrics...) - Method in interface org.aerogear.mobile.core.metrics.MetricsPublisher
Allows to publish metrics to external source
publish(Metrics...) - Method in class org.aerogear.mobile.core.metrics.MetricsService
Send metrics
publish(Metrics...) - Method in class org.aerogear.mobile.core.metrics.publisher.LoggerMetricsPublisher
 
publish(Metrics...) - Method in class org.aerogear.mobile.core.metrics.publisher.NetworkMetricsPublisher
 
put(String, byte[]) - Method in interface org.aerogear.mobile.core.http.HttpRequest
 
put(String, byte[]) - Method in class org.aerogear.mobile.core.http.OkHttpRequest
 

R

requiresConfiguration() - Method in class org.aerogear.mobile.core.http.OkHttpServiceModule
 
requiresConfiguration() - Method in class org.aerogear.mobile.core.metrics.MetricsService
 
requiresConfiguration() - Method in interface org.aerogear.mobile.core.ServiceModule
Whether the singleThreadService module requires its singleThreadService configuration to be defined or if it can be null.

S

SanityCheck - Class in org.aerogear.mobile.core.utils
Utility class used to check that passed in parameters complies to specific rules.
sendAppAndDeviceMetrics() - Method in class org.aerogear.mobile.core.metrics.MetricsService
Send default metrics
ServiceConfiguration - Class in org.aerogear.mobile.core.configuration
This represents a parsed singleThreadService configuration from JSON configuration.
ServiceConfiguration.Builder - Class in org.aerogear.mobile.core.configuration
 
ServiceModule - Interface in org.aerogear.mobile.core
 
setConfigFileName(String) - Method in class org.aerogear.mobile.core.MobileCore.Options
 
setHttpServiceModule(HttpServiceModule) - Method in class org.aerogear.mobile.core.MobileCore.Options
 
setLogger(Logger) - Method in class org.aerogear.mobile.core.MobileCore.Options
 
setName(String) - Method in class org.aerogear.mobile.core.configuration.ServiceConfiguration.Builder
 
setPublisher(MetricsPublisher) - Method in class org.aerogear.mobile.core.metrics.MetricsService
 
setType(String) - Method in class org.aerogear.mobile.core.configuration.ServiceConfiguration.Builder
 
setUrl(String) - Method in class org.aerogear.mobile.core.configuration.ServiceConfiguration.Builder
 
singleThreadService() - Method in class org.aerogear.mobile.core.executor.AppExecutors
 
stringBody() - Method in interface org.aerogear.mobile.core.http.HttpResponse
Blocks and then returns the response from the server

T

type - Variable in class org.aerogear.mobile.core.configuration.ServiceConfiguration.Builder
 
type() - Method in class org.aerogear.mobile.core.http.OkHttpServiceModule
 
type() - Method in class org.aerogear.mobile.core.metrics.MetricsService
 
type() - Method in interface org.aerogear.mobile.core.ServiceModule
Type/name used in the mobile-singleThreadService.json

U

uri - Variable in class org.aerogear.mobile.core.configuration.ServiceConfiguration.Builder
 

V

VERSION_CODE - Static variable in class org.aerogear.android.core.BuildConfig
 
VERSION_NAME - Static variable in class org.aerogear.android.core.BuildConfig
 

W

waitForCompletionAndClose() - Method in interface org.aerogear.mobile.core.http.HttpResponse
This is a terminal method that will block the thread called on until the http request has been processed.
warning(String, String) - Method in interface org.aerogear.mobile.core.logging.Logger
 
warning(String) - Method in interface org.aerogear.mobile.core.logging.Logger
 
warning(String, String, Exception) - Method in interface org.aerogear.mobile.core.logging.Logger
 
warning(String, Exception) - Method in interface org.aerogear.mobile.core.logging.Logger
 
warning(String, String) - Method in class org.aerogear.mobile.core.logging.LoggerAdapter
 
warning(String) - Method in class org.aerogear.mobile.core.logging.LoggerAdapter
 
warning(String, String, Exception) - Method in class org.aerogear.mobile.core.logging.LoggerAdapter
 
warning(String, Exception) - Method in class org.aerogear.mobile.core.logging.LoggerAdapter
 
A B C D E F G H I J L M N O P R S T U V W 
Skip navigation links