public class ApiCallScopeUtils extends Object
Important: Do not use outside of Soy code (treat as superpackage-private).
| Modifier and Type | Method and Description |
|---|---|
static void |
seedSharedParams(GuiceSimpleScope.InScope inScope,
BidiGlobalDir bidiGlobalDir,
String localeString)
Helper utility to seed params shared by multiple backends.
|
static void |
seedSharedParams(GuiceSimpleScope.InScope inScope,
SoyMsgBundle msgBundle)
Helper utility to seed params shared by multiple backends.
|
static void |
seedSharedParams(GuiceSimpleScope.InScope inScope,
SoyMsgBundle msgBundle,
BidiGlobalDir bidiGlobalDir)
Helper utility to seed params shared by multiple backends.
|
public static void seedSharedParams(GuiceSimpleScope.InScope inScope, @Nullable SoyMsgBundle msgBundle)
inScope - The scope object that manages the API call scope.msgBundle - The bundle of translated messages, or null to use the messages from the Soypublic static void seedSharedParams(GuiceSimpleScope.InScope inScope, @Nullable SoyMsgBundle msgBundle, @Nullable BidiGlobalDir bidiGlobalDir)
inScope - The scope object that manages the API call scope.msgBundle - The bundle of translated messages, or null to use the messages from the SoybidiGlobalDir - The bidi global directionality. If null, it is derived from the msgBundle
locale, if any, otherwise ltr.public static void seedSharedParams(GuiceSimpleScope.InScope inScope, BidiGlobalDir bidiGlobalDir, @Nullable String localeString)
inScope - The scope object that manages the API call scope.bidiGlobalDir - The bidi global directionality.localeString - The current locale.