| Modifier and Type | Method and Description |
|---|---|
JsUriManager.JsUri |
JsRequest.getJsUri() |
| Modifier and Type | Method and Description |
|---|---|
JsRequest |
JsRequestBuilder.build(JsUriManager.JsUri jsUri,
String host)
Builds a
JsRequest instance for a given JsUri/host pair. |
protected JsRequest |
JsRequestBuilder.build(JsUriManager.JsUri jsUri,
String host,
boolean inCache) |
protected void |
JsLoadProcessor.doJsload(JsUriManager.JsUri jsUri,
JsResponseBuilder resp) |
protected List<String> |
BaseSurfaceJsProcessor.getExports(FeatureRegistry.FeatureBundle bundle,
JsUriManager.JsUri jsUri) |
protected FeatureRegistry |
BaseSurfaceJsProcessor.getFeatureRegistry(JsUriManager.JsUri jsUri) |
| Constructor and Description |
|---|
JsGadgetContext(JsUriManager.JsUri ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
RenderingGadgetRewriter.getFeaturesContent(JsUriManager.JsUri jsUri)
Get the JS content for a request (JsUri)
|
| Modifier and Type | Method and Description |
|---|---|
JsResponse |
JsCompiler.compile(JsUriManager.JsUri jsUri,
Iterable<JsContent> content,
String externs)
Compiles the provided code with the provided list of external symbols.
|
JsResponse |
DefaultJsCompiler.compile(JsUriManager.JsUri jsUri,
Iterable<JsContent> content,
String externs) |
JsResponse |
ClosureJsCompiler.compile(JsUriManager.JsUri jsUri,
Iterable<JsContent> content,
String externs) |
protected Future<CompileResult> |
ClosureJsCompiler.getCompileFuture(String cacheKey,
JsContent content,
JsUriManager.JsUri jsUri,
String externs) |
protected com.google.javascript.jscomp.CompilerOptions |
ClosureJsCompiler.getCompilerOptions(JsUriManager.JsUri uri) |
protected String |
DefaultJsCompiler.getFeatureContent(JsUriManager.JsUri jsUri,
FeatureResource resource) |
Iterable<JsContent> |
JsCompiler.getJsContent(JsUriManager.JsUri jsUri,
FeatureRegistry.FeatureBundle bundle)
Pre-process feature JS.
|
Iterable<JsContent> |
DefaultJsCompiler.getJsContent(JsUriManager.JsUri jsUri,
FeatureRegistry.FeatureBundle bundle) |
Iterable<JsContent> |
ClosureJsCompiler.getJsContent(JsUriManager.JsUri jsUri,
FeatureRegistry.FeatureBundle bundle) |
protected String |
ClosureJsCompiler.makeCacheKey(String code,
String externs,
JsUriManager.JsUri uri,
com.google.javascript.jscomp.CompilerOptions options) |
| Modifier and Type | Method and Description |
|---|---|
protected JsUriManager.JsUri |
GadgetsHandlerService.createJsUri(GadgetsHandlerApi.JsRequest request) |
| Modifier and Type | Method and Description |
|---|---|
JsUriManager.JsUri |
JsUriManager.processExternJsUri(Uri uri)
Processes the inbound URL, for use by serving code in determining which JS to serve
and with what caching properties.
|
JsUriManager.JsUri |
DefaultJsUriManager.processExternJsUri(Uri uri)
Essentially pulls apart a Uri created by makeExternJsUri, validating its
contents, especially the version key.
|
| Modifier and Type | Method and Description |
|---|---|
Uri |
JsUriManager.makeExternJsUri(JsUriManager.JsUri ctx) |
Uri |
DefaultJsUriManager.makeExternJsUri(JsUriManager.JsUri ctx) |
UriStatus |
JsUriManager.Versioner.validate(JsUriManager.JsUri jsUri,
String version) |
UriStatus |
DefaultJsVersioner.validate(JsUriManager.JsUri jsUri,
String version) |
String |
JsUriManager.Versioner.version(JsUriManager.JsUri jsUri) |
String |
DefaultJsVersioner.version(JsUriManager.JsUri jsUri) |
| Constructor and Description |
|---|
JsUriManager.JsUri(JsUriManager.JsUri origJsUri) |
JsUriManager.JsUri(UriStatus status,
JsUriManager.JsUri origJsUri) |
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.