public class DirectInstallLinker extends CrossSiteIframeLinker
COMPUTE_SCRIPT_BASE_JS, FRAGMENT_EXTENSION, FRAGMENT_SUBDIR, permutationsUtil, PROCESS_METAS_JS, USE_SOURCE_MAPS_PROPERTY
Constructor and Description |
---|
DirectInstallLinker() |
Modifier and Type | Method and Description |
---|---|
protected String |
getJsInstallScript(LinkerContext context)
Returns the name of the
JsInstallScript script. |
protected boolean |
shouldInstallCode(LinkerContext context) |
fillSelectionScriptTemplate, getBooleanConfigurationProperty, getCompilationExtension, getDeferredFragmentSuffix2, getDescription, getHostedFilename, getHostedFilenameFull, getJsComputeScriptBase, getJsComputeUrlForResource, getJsDevModeRedirectHook, getJsDevModeRedirectHookPermitted, getJsDevModeUrlValidation, getJsInstallLocation, getJsIsBodyLoaded, getJsLoadExternalStylesheets, getJsModuleFunctionErrorCatch, getJsPermutations, getJsProcessMetas, getJsProperties, getJsRunAsync, getJsWaitForBodyLoaded, getModulePrefix, getModuleSuffix2, getScriptChunkSeparator, getSelectionScriptTemplate, getSourceMapUrl, getStringConfigurationProperty, includeJs, maybeAddHostedModeFile, maybeOutputPropertyMap, shouldIncludeBootstrapInPrimaryFragment, shouldUseSelfForWindowAndDocument, wrapDeferredFragment, wrapPrimaryFragment
charsPerChunk, doEmitCompilation, emitSelectionInformation, emitSelectionScript, generateDeferredFragment, generatePrimaryFragment, generatePrimaryFragmentString, generateSelectionScript, generateSelectionScript, getDeferredFragmentPrefix, getDeferredFragmentSuffix, getFragmentSubdir, getModulePrefix, getModuleSuffix, link, link, readFileToStringBuffer, replaceAll, splitPrimaryJavaScript, supportsDevModeInJunit
emitBytes, emitBytes, emitInputStream, emitInputStream, emitString, emitString, emitWithStrongName, emitWithStrongName
isShardable, relink
protected String getJsInstallScript(LinkerContext context)
CrossSiteIframeLinker
JsInstallScript
script. By default,
returns "com/google/gwt/core/ext/linker/impl/installScriptEarlyDownload.js"
.
If you override this to return installScriptDirect.js
, then you
should also override CrossSiteIframeLinker.shouldInstallCode(LinkerContext)
to return
false
.
getJsInstallScript
in class CrossSiteIframeLinker
context
- a LinkerContextprotected boolean shouldInstallCode(LinkerContext context)
shouldInstallCode
in class CrossSiteIframeLinker
Copyright © 2018. All rights reserved.