Response Data Type

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

Example

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