public class FetchEvent extends ExtendableEvent
| Modifier and Type | Class and Description |
|---|---|
static interface |
FetchEvent.RespondWithRUnionType |
Event.ComposedPathArrayUnionType, Event.DeepPathFn| Modifier and Type | Field and Description |
|---|---|
ServiceWorkerClient |
client
Deprecated.
|
java.lang.String |
clientId |
boolean |
isReload |
<any> |
preloadResponse |
Request |
request |
java.lang.String |
resultingClientId |
activeWorkerAT_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) |
waitUntilcomposedPath, initEvent, initEvent, initEvent, preventDefault, stopImmediatePropagation, stopPropagation@Deprecated public ServiceWorkerClient client
public java.lang.String clientId
public boolean isReload
public <any> preloadResponse
public Request request
public java.lang.String resultingClientId
public FetchEvent(java.lang.String type,
FetchEventInit eventInitDict)
public FetchEvent(java.lang.String type)