getContentAs ( contentType: String) { Object }

Parameters
Name Type Description
contentType String

getContentAsJSON ( ) { Object }

getContentAsObject ( ) { Object }

getContentAsString ( ) { String }

getContentAsXML ( ) { Object }

getContentType ( ) { String }

getEncoding ( ) { String }

getHeader ( name: String) { String }

Parameters
Name Type Description
name String

getHeaderNames ( ) { Array }

getResponseCode ( ) { int }

isFailed ( ) { boolean }

isOk ( ) { boolean }