D4Science D4Science Don't have a D4Science account? Create one Could not find what you are looking for? Contact us.

Response Data Type

Abstract Type
Properties
name data type constraints description
statusInfo StatusType  
status number required int
stringHeaders map of array of string  
allowedMethods array of string  
headers map of array of object  
mediaType MediaType  
links array of Link  
length number required int
closed boolean required boolean
lastModified number  
date number  
location string  
entity object  
language string  
metadata map of array of object  
cookies map of NewCookie  
entityTag EntityTag  

Example

{
  "statusInfo" : {
    "statusCode" : 12345,
    "reasonPhrase" : "...",
    "family" : "INFORMATIONAL"
  },
  "status" : 12345,
  "stringHeaders" : {
    "property1" : [ "...", "..." ],
    "property2" : [ "...", "..." ]
  },
  "allowedMethods" : [ "...", "..." ],
  "headers" : {
    "property1" : [ { }, { } ],
    "property2" : [ { }, { } ]
  },
  "mediaType" : {
    "subtype" : "...",
    "parameters" : {
      "property1" : "...",
      "property2" : "..."
    },
    "type" : "...",
    "wildcardType" : true,
    "wildcardSubtype" : true
  },
  "links" : [ {
    "params" : {
      "property1" : "...",
      "property2" : "..."
    },
    "uri" : "...",
    "rel" : "...",
    "type" : "...",
    "title" : "...",
    "rels" : [ "...", "..." ],
    "uriBuilder" : { }
  }, {
    "params" : {
      "property1" : "...",
      "property2" : "..."
    },
    "uri" : "...",
    "rel" : "...",
    "type" : "...",
    "title" : "...",
    "rels" : [ "...", "..." ],
    "uriBuilder" : { }
  } ],
  "length" : 12345,
  "closed" : true,
  "lastModified" : 12345,
  "date" : 12345,
  "location" : "...",
  "entity" : { },
  "language" : "...",
  "metadata" : {
    "property1" : [ { }, { } ],
    "property2" : [ { }, { } ]
  },
  "cookies" : {
    "property1" : {
      "secure" : true,
      "expiry" : 12345,
      "maxAge" : 12345,
      "comment" : "...",
      "sameSite" : "STRICT",
      "httpOnly" : true,
      "value" : "...",
      "name" : "...",
      "domain" : "...",
      "version" : 12345,
      "path" : "..."
    },
    "property2" : {
      "secure" : true,
      "expiry" : 12345,
      "maxAge" : 12345,
      "comment" : "...",
      "sameSite" : "STRICT",
      "httpOnly" : true,
      "value" : "...",
      "name" : "...",
      "domain" : "...",
      "version" : 12345,
      "path" : "..."
    }
  },
  "entityTag" : {
    "value" : "...",
    "weak" : true
  }
}