Package com.zendesk.sdk.util
Class BaseInjector
- java.lang.Object
-
- com.zendesk.sdk.util.BaseInjector
-
public class BaseInjector extends java.lang.Object
Glue code for injecting basic Zendesk configurations like Zendesk Url, Application Id, Context, ...
-
-
Constructor Summary
Constructors Constructor and Description BaseInjector()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static java.lang.String
injectAppId(ApplicationScope applicationScope)
static Context
injectApplicationContext(ApplicationScope applicationScope)
static java.util.List<ConnectionSpec>
injectConnectionSpec(ApplicationScope applicationScope)
static java.util.Locale
injectLocale(ApplicationScope applicationScope)
static java.lang.String
injectOAuthToken(ApplicationScope applicationScope)
static java.lang.String
injectUrl(ApplicationScope applicationScope)
static java.lang.String
injectUserAgentHeader(ApplicationScope applicationScope)
-
-
-
Method Detail
-
injectUrl
public static java.lang.String injectUrl(ApplicationScope applicationScope)
-
injectAppId
public static java.lang.String injectAppId(ApplicationScope applicationScope)
-
injectOAuthToken
public static java.lang.String injectOAuthToken(ApplicationScope applicationScope)
-
injectApplicationContext
public static Context injectApplicationContext(ApplicationScope applicationScope)
-
injectConnectionSpec
public static java.util.List<ConnectionSpec> injectConnectionSpec(ApplicationScope applicationScope)
-
injectLocale
public static java.util.Locale injectLocale(ApplicationScope applicationScope)
-
injectUserAgentHeader
public static java.lang.String injectUserAgentHeader(ApplicationScope applicationScope)
-
-