| Modifier and Type | Class and Description |
|---|---|
static interface |
Response.ConstructorBodyUnionType |
| Modifier and Type | Field and Description |
|---|---|
java.lang.Object |
body |
java.lang.Object |
bodyUsed |
Headers |
headers |
boolean |
ok |
boolean |
redirected |
double |
status |
java.lang.String |
statusText |
<any> |
trailer |
java.lang.String |
type |
java.lang.String |
url |
| Constructor and Description |
|---|
Response() |
Response(ArrayBuffer body) |
Response(ArrayBuffer body,
ResponseInit init) |
Response(ArrayBufferView body) |
Response(ArrayBufferView body,
ResponseInit init) |
| Modifier and Type | Method and Description |
|---|---|
<any> |
arrayBuffer() |
<any> |
blob() |
Response |
clone_() |
static Response |
error() |
<any> |
formData() |
boolean |
isBodyUsed() |
<any> |
json() |
static Response |
redirect(java.lang.String url) |
static Response |
redirect(java.lang.String url,
double status) |
void |
setBodyUsed(boolean bodyUsed) |
<any> |
text() |
public java.lang.Object body
public java.lang.Object bodyUsed
public Headers headers
public boolean ok
public boolean redirected
public double status
public java.lang.String statusText
public <any> trailer
public java.lang.String type
public java.lang.String url
public Response()
public Response(ArrayBuffer body,
ResponseInit init)
public Response(ArrayBuffer body)
public Response(ArrayBufferView body,
ResponseInit init)
public Response(ArrayBufferView body)
public static Response error()
public static Response redirect(java.lang.String url, double status)
public static Response redirect(java.lang.String url)
public <any> arrayBuffer()
arrayBuffer in interface Bodypublic Response clone_()
public boolean isBodyUsed()
isBodyUsed in interface Bodypublic void setBodyUsed(boolean bodyUsed)
setBodyUsed in interface Body