|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of GadgetContext in org.apache.shindig.gadgets |
|---|
| Methods in org.apache.shindig.gadgets that return GadgetContext | |
|---|---|
GadgetContext |
Gadget.getContext()
|
| Methods in org.apache.shindig.gadgets with parameters of type GadgetContext | |
|---|---|
GadgetSpec |
GadgetSpecFactory.getGadgetSpec(GadgetContext context)
Return a gadget spec for a context |
GadgetSpec |
DefaultGadgetSpecFactory.getGadgetSpec(GadgetContext context)
|
Gadget |
Gadget.setContext(GadgetContext context)
|
| Constructors in org.apache.shindig.gadgets with parameters of type GadgetContext | |
|---|---|
GadgetContext(GadgetContext delegate)
|
|
GadgetELResolver(GadgetContext context)
|
|
| Uses of GadgetContext in org.apache.shindig.gadgets.features |
|---|
| Methods in org.apache.shindig.gadgets.features with parameters of type GadgetContext | |
|---|---|
List<FeatureResource> |
FeatureRegistry.getFeatureResources(GadgetContext ctx,
Collection<String> needed,
List<String> unsupported)
Helper method retrieving feature resources, including transitive dependencies. |
List<FeatureResource> |
FeatureRegistry.getFeatureResources(GadgetContext ctx,
Collection<String> needed,
List<String> unsupported,
boolean transitive)
For the given list of needed features, retrieves all the FeatureResource objects that contain their content and, if requested, that of their transitive dependencies. |
| Uses of GadgetContext in org.apache.shindig.gadgets.oauth |
|---|
| Subclasses of GadgetContext in org.apache.shindig.gadgets.oauth | |
|---|---|
class |
OAuthGadgetContext
GadgetContext for use when handling an OAuth request. |
| Uses of GadgetContext in org.apache.shindig.gadgets.parse.caja |
|---|
| Methods in org.apache.shindig.gadgets.parse.caja with parameters of type GadgetContext | |
|---|---|
void |
CajaCssSanitizer.sanitize(com.google.caja.parser.css.CssTree css,
Uri linkContext,
GadgetContext gadgetContext,
ProxyUriManager importRewriter,
ProxyUriManager imageRewriter)
Sanitize the given CSS tree in-place by removing all non-whitelisted function calls |
void |
CajaCssSanitizer.sanitize(Element styleElem,
Uri linkContext,
GadgetContext gadgetContext,
ProxyUriManager importRewriter,
ProxyUriManager imageRewriter)
Sanitize the CSS content of a style tag. |
String |
CajaCssSanitizer.sanitize(String content,
Uri linkContext,
GadgetContext gadgetContext,
ProxyUriManager importRewriter,
ProxyUriManager imageRewriter)
Sanitize the CSS content of a style tag. |
| Uses of GadgetContext in org.apache.shindig.gadgets.preload |
|---|
| Methods in org.apache.shindig.gadgets.preload with parameters of type GadgetContext | |
|---|---|
Collection<Callable<PreloadedData>> |
PipelinedDataPreloader.createPreloadTasks(GadgetContext context,
PipelinedData.Batch batch)
Create preload tasks from a batch of social and http preloads |
PipelineExecutor.Results |
PipelineExecutor.execute(GadgetContext context,
Collection<PipelinedData> pipelines)
Executes a pipeline, or set of pipelines. |
static HttpRequest |
HttpPreloader.newHttpRequest(GadgetContext context,
RequestAuthenticationInfo authenticationInfo)
|
| Uses of GadgetContext in org.apache.shindig.gadgets.process |
|---|
| Methods in org.apache.shindig.gadgets.process with parameters of type GadgetContext | |
|---|---|
Gadget |
Processor.process(GadgetContext context)
Process a single gadget. |
| Uses of GadgetContext in org.apache.shindig.gadgets.render |
|---|
| Methods in org.apache.shindig.gadgets.render with parameters of type GadgetContext | |
|---|---|
List<GadgetRewriter> |
GadgetRewritersProvider.getRewriters(GadgetContext context)
|
RenderingResults |
Renderer.render(GadgetContext context)
Attempts to render the requested gadget. |
| Uses of GadgetContext in org.apache.shindig.gadgets.rewrite |
|---|
| Methods in org.apache.shindig.gadgets.rewrite with parameters of type GadgetContext | |
|---|---|
static Gadget |
DomWalker.makeGadget(GadgetContext context)
|
static List<String> |
CssResponseRewriter.rewrite(com.google.caja.parser.css.CssTree.StyleSheet styleSheet,
Uri source,
CssResponseRewriter.UriMaker uriMaker,
boolean extractImports,
GadgetContext gadgetContext)
Rewrite the CSS DOM in place. |
List<String> |
CssResponseRewriter.rewrite(Element styleNode,
Uri source,
CssResponseRewriter.UriMaker uriMaker,
boolean extractImports,
GadgetContext gadgetContext)
Rewrite the CSS content in a style DOM node. |
List<String> |
CssResponseRewriter.rewrite(Reader content,
Uri source,
CssResponseRewriter.UriMaker uriMaker,
Writer writer,
boolean extractImports,
GadgetContext gadgetContext)
Rewrite the given CSS content and optionally extract the import references. |
| Uses of GadgetContext in org.apache.shindig.gadgets.servlet |
|---|
| Subclasses of GadgetContext in org.apache.shindig.gadgets.servlet | |
|---|---|
protected class |
GadgetsHandlerService.MetadataGadgetContext
GadgetContext for metadata request. |
class |
HttpGadgetContext
Implements GadgetContext using an HttpServletRequest |
protected static class |
JsHandler.JsGadgetContext
GadgetContext for JsHandler called by FeatureRegistry when fetching the resources. |
class |
JsonRpcGadgetContext
Extracts context from JSON input. |
| Fields in org.apache.shindig.gadgets.servlet declared as GadgetContext | |
|---|---|
protected GadgetContext |
JsonRpcHandler.Job.context
|
| Methods in org.apache.shindig.gadgets.servlet that return GadgetContext | |
|---|---|
GadgetContext |
RpcException.getContext()
|
GadgetContext |
GadgetRenderingServlet.PostGadgetRenderingParams.getContext()
|
protected GadgetContext |
JsHandler.getGadgetContext(javax.servlet.http.HttpServletRequest req)
Get the GadgetContext to be used when calling FeatureRegistry.getFeatureResources. |
| Methods in org.apache.shindig.gadgets.servlet with parameters of type GadgetContext | |
|---|---|
protected JsonRpcHandler.Job |
JsonRpcHandler.createNewJob(GadgetContext context)
|
protected JsHandler.JsHandlerResponse |
JsHandler.getFeatureResourcesContent(javax.servlet.http.HttpServletRequest req,
GadgetContext ctx,
Set<String> needed)
Get the content of the feature resources and push it to jsData. |
| Constructors in org.apache.shindig.gadgets.servlet with parameters of type GadgetContext | |
|---|---|
GadgetRenderingServlet.PostGadgetRenderingParams(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
UriStatus urlStatus,
GadgetContext context,
RenderingResults results)
|
|
JsonRpcHandler.Job(GadgetContext context)
|
|
RpcException(GadgetContext context,
String message)
|
|
RpcException(GadgetContext context,
String message,
Throwable cause)
|
|
RpcException(GadgetContext context,
Throwable cause)
|
|
| Uses of GadgetContext in org.apache.shindig.gadgets.templates |
|---|
| Methods in org.apache.shindig.gadgets.templates with parameters of type GadgetContext | |
|---|---|
TemplateLibrary |
TemplateLibraryFactory.loadTemplateLibrary(GadgetContext context,
Uri uri)
|
| Uses of GadgetContext in org.apache.shindig.gadgets.variables |
|---|
| Methods in org.apache.shindig.gadgets.variables with parameters of type GadgetContext | |
|---|---|
void |
UserPrefSubstituter.addSubstitutions(Substitutions substituter,
GadgetContext context,
GadgetSpec spec)
|
void |
Substituter.addSubstitutions(Substitutions substituter,
GadgetContext context,
GadgetSpec spec)
Add the substitutions from this Substituter to the Substitutions. |
void |
ModuleSubstituter.addSubstitutions(Substitutions substituter,
GadgetContext context,
GadgetSpec spec)
|
void |
MessageSubstituter.addSubstitutions(Substitutions substituter,
GadgetContext context,
GadgetSpec spec)
|
void |
BidiSubstituter.addSubstitutions(Substitutions substituter,
GadgetContext context,
GadgetSpec spec)
|
GadgetSpec |
VariableSubstituter.substitute(GadgetContext context,
GadgetSpec spec)
Substitutes all hangman variables into the gadget spec. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||