RemoteResponse
Object that contains the details of the response obtained through the remote connection, when using the Remote resource.
bytes
bytes() : byte[]
Return
( byte[] )
content
content() : Object
Return
( Object )
contentType
contentType() : string
Return
( string )
error
error() : Throwable
Return
( Throwable )
file
file() : File
Return
( File )
getBytes
getBytes() : byte[]
Return
( byte[] )
getContent
getContent() : Object
Return
( Object )
getContentType
getContentType() : string
Return
( string )
getError
getError() : Throwable
Return
( Throwable )
getFile
getFile() : File
Return
( File )
getHeader
getHeader() : Values
Return
( Values )
getJSON
getJSON() : Values
Return
( Values )
getMethod
getMethod() : string
Description
Gets the code of the HTTP method used for the remote connection.
Return
( string )
HTTP method code that was submitted.
getStatusCode
getStatusCode() : int
Return
( int )
getURL
getURL() : string
Return
( string )
header
header() : Values
Return
( Values )
isForm
isForm() : boolean
Return
( boolean )
isJSON
isJSON() : boolean
Return
( boolean )
isMultipartFormData
isMultipartFormData() : boolean
Return
( boolean )
isOk
isOk() : boolean
Return
( boolean )
isText
isText() : boolean
Return
( boolean )
json
json() : Values
Return
( Values )
method
method() : string
Description
Gets the code of the HTTP method used for the remote connection.
Return
( string )
HTTP method code that was submitted.
method(method: string) : RemoteResponse
Description
Defines the HTTP method code that was used for the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
method | string | HTTP method code. |
Return
( RemoteResponse )
Remote connection submission response.
ok
ok() : boolean
Return
( boolean )
setBytes
setBytes(arg0: byte[]) : RemoteResponse
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
arg0 | byte[] |
Return
( RemoteResponse )
setContent
setContent(arg0: Object) : RemoteResponse
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
arg0 | Object |
Return
( RemoteResponse )
setError
setError(arg0: Throwable) : RemoteResponse
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
arg0 | Throwable |
Return
( RemoteResponse )
setHeader
setHeader(arg0: Values) : RemoteResponse
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
arg0 | Values |
Return
( RemoteResponse )
setMethod
setMethod(method: string) : RemoteResponse
Description
Defines the HTTP method code that was used for the remote connection.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
method | string | HTTP method code. |
Return
( RemoteResponse )
Remote connection submission response.
setStatusCode
setStatusCode(arg0: int) : RemoteResponse
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
arg0 | int |
Return
( RemoteResponse )
setURL
setURL(arg0: string) : Response
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
arg0 | string |
Return
( Response )
statusCode
statusCode() : int
Return
( int )
url
url() : string
Return
( string )