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