public class PipelinedDataPreloader extends Object
| Constructor and Description |
|---|
PipelinedDataPreloader(RequestPipeline requestPipeline,
ContainerConfig config) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Callable<PreloadedData>> |
createPreloadTasks(GadgetContext context,
PipelinedData.Batch batch)
Create preload tasks from a batch of social and http preloads
|
protected HttpResponse |
executeSocialRequest(HttpRequest request)
Hook for executing a JSON RPC fetch for social data.
|
@Inject public PipelinedDataPreloader(RequestPipeline requestPipeline, ContainerConfig config)
public Collection<Callable<PreloadedData>> createPreloadTasks(GadgetContext context, PipelinedData.Batch batch)
protected HttpResponse executeSocialRequest(HttpRequest request) throws GadgetException
request - the social requestGadgetException - if there are errors processing the gadget specCopyright © 2007-2012. All Rights Reserved.