public class FetchEvent extends Event
| Modifier and Type | Class and Description |
|---|---|
static interface |
FetchEvent.RespondWithRUnionType |
Event.ComposedPathArrayUnionType, Event.DeepPathCallbackFn| Modifier and Type | Field and Description |
|---|---|
ServiceWorkerClient |
client |
boolean |
isReload |
<any> |
preloadResponse |
Request |
request |
AT_TARGET, bubbles, BUBBLING_PHASE, cancelable, CAPTURING_PHASE, composed, currentTarget, deepPath, defaultPrevented, eventPhase, namespaceURI, path, target, timeStamp, type| Constructor and Description |
|---|
FetchEvent(java.lang.String type) |
FetchEvent(java.lang.String type,
FetchEventInit eventInitDict) |
| Modifier and Type | Method and Description |
|---|---|
<any> |
default_() |
<any> |
forwardTo(java.lang.String url) |
void |
respondWith(<any> r) |
composedPath, initEvent, preventDefault, stopImmediatePropagation, stopPropagationpublic ServiceWorkerClient client
public boolean isReload
public <any> preloadResponse
public Request request
public FetchEvent(java.lang.String type,
FetchEventInit eventInitDict)
public FetchEvent(java.lang.String type)