| name | data type | constraints | description |
|---|---|---|---|
| length | number | required int | |
| stringHeaders | map of array of string | ||
| map of NewCookie | |||
| location | string | ||
| statusInfo | StatusType | ||
| closed | boolean | required boolean | |
| headers | map of array of object | ||
| lastModified | number | ||
| links | array of Link | ||
| date | number | ||
| metadata | map of array of object | ||
| language | string | ||
| entity | object | ||
| allowedMethods | array of string | ||
| mediaType | MediaType | ||
| entityTag | EntityTag | ||
| status | number | required int |
Example
{
"length" : 12345,
"stringHeaders" : {
"property1" : [ "...", "..." ],
"property2" : [ "...", "..." ]
},
"cookies" : {
"property1" : {
"expiry" : 12345,
"maxAge" : 12345,
"secure" : true,
"sameSite" : "NONE",
"httpOnly" : true,
"comment" : "...",
"domain" : "...",
"path" : "...",
"value" : "...",
"name" : "...",
"version" : 12345
},
"property2" : {
"expiry" : 12345,
"maxAge" : 12345,
"secure" : true,
"sameSite" : "NONE",
"httpOnly" : true,
"comment" : "...",
"domain" : "...",
"path" : "...",
"value" : "...",
"name" : "...",
"version" : 12345
}
},
"location" : "...",
"statusInfo" : {
"family" : "CLIENT_ERROR",
"statusCode" : 12345,
"reasonPhrase" : "..."
},
"closed" : true,
"headers" : {
"property1" : [ { }, { } ],
"property2" : [ { }, { } ]
},
"lastModified" : 12345,
"links" : [ {
"rel" : "...",
"title" : "...",
"params" : {
"property1" : "...",
"property2" : "..."
},
"uri" : "...",
"uriBuilder" : { },
"type" : "...",
"rels" : [ "...", "..." ]
}, {
"rel" : "...",
"title" : "...",
"params" : {
"property1" : "...",
"property2" : "..."
},
"uri" : "...",
"uriBuilder" : { },
"type" : "...",
"rels" : [ "...", "..." ]
} ],
"date" : 12345,
"metadata" : {
"property1" : [ { }, { } ],
"property2" : [ { }, { } ]
},
"language" : "...",
"entity" : { },
"allowedMethods" : [ "...", "..." ],
"mediaType" : {
"subtype" : "...",
"wildcardSubtype" : true,
"parameters" : {
"property1" : "...",
"property2" : "..."
},
"wildcardType" : true,
"type" : "..."
},
"entityTag" : {
"value" : "...",
"weak" : true
},
"status" : 12345
}