|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.gwt.core.client.prefetch.Prefetcher
public class Prefetcher
This class allows requesting the download of resources before they are
strictly needed. See the classes that implement PrefetchableResource.
Currently, the only supported resource type is RunAsyncCode.
| Constructor Summary | |
|---|---|
Prefetcher()
|
|
| Method Summary | |
|---|---|
static void |
prefetch(java.lang.Iterable<? extends PrefetchableResource> resources)
Specify which resources should be prefetched. |
static void |
prefetch(PrefetchableResource resource)
Helper method to call prefetch(Iterable) with a single resource. |
static void |
start()
Start prefetching. |
static void |
stop()
Stop prefetching. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Prefetcher()
| Method Detail |
|---|
public static void prefetch(java.lang.Iterable<? extends PrefetchableResource> resources)
public static void prefetch(PrefetchableResource resource)
prefetch(Iterable) with a single resource.
public static void start()
public static void stop()
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||