Skip to main content

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() : java.lang.Object​

Return​

( java.lang.Object )


contentType​


contentType() : string​

Return​

( string )


dataSent​


dataSent() : Values​

Description​

Gets the data that was sent over the remote connection.

Return​

( Values )

All data that was sent.


dataSent(dataSent: Values) : org.netuno.psamata.net.Remote$Response​

Attributes​
NAMETYPEDESCRIPTION
dataSentValues
Return​

( org.netuno.psamata.net.Remote$Response )


error​


error() : java.lang.Throwable​

Return​

( java.lang.Throwable )


file​


file() : File​

Return​

( File )


formDataSent​


formDataSent() : Values​

Description​

Gets the data that was sent over the remote connection.

Return​

( Values )

All data that was sent.


formDataSent(dataSent: Values) : org.netuno.psamata.net.Remote$Response​

Attributes​
NAMETYPEDESCRIPTION
dataSentValues
Return​

( org.netuno.psamata.net.Remote$Response )


getBytes​


getBytes() : byte[]​

Return​

( byte[] )


getContent​


getContent() : java.lang.Object​

Return​

( java.lang.Object )


getContentType​


getContentType() : string​

Return​

( string )


getDataSent​


getDataSent() : Values​

Description​

Gets the data that was sent over the remote connection.

Return​

( Values )

All data that was sent.


getError​


getError() : java.lang.Throwable​

Return​

( java.lang.Throwable )


getFile​


getFile() : File​

Return​

( File )


getFormDataSent​


getFormDataSent() : Values​

Description​

Gets the data that was sent over the remote connection.

Return​

( Values )

All data that was sent.


getHeader​


getHeader() : Values​

Return​

( Values )


getHost​


getHost() : string​

Description​

Get the host address.

Return​

( string )

The server name.


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.


getQSSent​


getQSSent() : Values​

Description​

Gets the parameters of the query string that was sent on the remote connection.

Return​

( Values )

All query string parameters that were sent.


getQueryStringSent​


getQueryStringSent() : Values​

Description​

Gets the parameters of the query string that was sent on the remote connection.

Return​

( Values )

All query string parameters that were sent.


getStatusCode​


getStatusCode() : int​

Return​

( int )


getTime​


getTime() : long​

Return​

( long )


getURL​


getURL() : string​

Return​

( string )



header() : Values​

Return​

( Values )


host​


host() : string​

Description​

Get the host address.

Return​

( string )

The server name.


host(host: string) : org.netuno.psamata.net.Remote$Response​

Attributes​
NAMETYPEDESCRIPTION
hoststring
Return​

( org.netuno.psamata.net.Remote$Response )


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​
NAMETYPEDESCRIPTION
methodstringHTTP method code.
Return​

( RemoteResponse )

Remote connection submission response.


ok​


ok() : boolean​

Return​

( boolean )


qsSent​


qsSent() : Values​

Description​

Gets the parameters of the query string that was sent on the remote connection.

Return​

( Values )

All query string parameters that were sent.


qsSent(qsSent: Values) : org.netuno.psamata.net.Remote$Response​

Attributes​
NAMETYPEDESCRIPTION
qsSentValues
Return​

( org.netuno.psamata.net.Remote$Response )


queryStringSent​


queryStringSent() : Values​

Description​

Gets the parameters of the query string that was sent on the remote connection.

Return​

( Values )

All query string parameters that were sent.


queryStringSent(qs: Values) : org.netuno.psamata.net.Remote$Response​

Attributes​
NAMETYPEDESCRIPTION
qsValues
Return​

( org.netuno.psamata.net.Remote$Response )


setBytes​


setBytes(bytes: byte[]) : RemoteResponse​

Attributes​
NAMETYPEDESCRIPTION
bytesbyte[]
Return​

( RemoteResponse )


setContent​


setContent(content: java.lang.Object) : RemoteResponse​

Attributes​
NAMETYPEDESCRIPTION
contentjava.lang.Object
Return​

( RemoteResponse )


setDataSent​


setDataSent(dataSent: Values) : org.netuno.psamata.net.Remote$Response​

Attributes​
NAMETYPEDESCRIPTION
dataSentValues
Return​

( org.netuno.psamata.net.Remote$Response )


setError​


setError(error: java.lang.Throwable) : RemoteResponse​

Attributes​
NAMETYPEDESCRIPTION
errorjava.lang.Throwable
Return​

( RemoteResponse )


setFormDataSent​


setFormDataSent(dataSent: Values) : org.netuno.psamata.net.Remote$Response​

Attributes​
NAMETYPEDESCRIPTION
dataSentValues
Return​

( org.netuno.psamata.net.Remote$Response )


setHeader​


setHeader(header: Values) : RemoteResponse​

Attributes​
NAMETYPEDESCRIPTION
headerValues
Return​

( RemoteResponse )


setHost​


setHost(host: string) : org.netuno.psamata.net.Remote$Response​

Attributes​
NAMETYPEDESCRIPTION
hoststring
Return​

( org.netuno.psamata.net.Remote$Response )


setMethod​


setMethod(method: string) : RemoteResponse​

Description​

Defines the HTTP method code that was used for the remote connection.

Attributes​
NAMETYPEDESCRIPTION
methodstringHTTP method code.
Return​

( RemoteResponse )

Remote connection submission response.


setQSSent​


setQSSent(qsSent: Values) : org.netuno.psamata.net.Remote$Response​

Attributes​
NAMETYPEDESCRIPTION
qsSentValues
Return​

( org.netuno.psamata.net.Remote$Response )


setQueryStringSent​


setQueryStringSent(qs: Values) : org.netuno.psamata.net.Remote$Response​

Attributes​
NAMETYPEDESCRIPTION
qsValues
Return​

( org.netuno.psamata.net.Remote$Response )


setStatusCode​


setStatusCode(statusCode: int) : RemoteResponse​

Attributes​
NAMETYPEDESCRIPTION
statusCodeint
Return​

( RemoteResponse )


setTime​


setTime(time: long) : RemoteResponse​

Attributes​
NAMETYPEDESCRIPTION
timelong
Return​

( RemoteResponse )


setURL​


setURL(url: string) : org.netuno.psamata.net.Remote$Response​

Attributes​
NAMETYPEDESCRIPTION
urlstring
Return​

( org.netuno.psamata.net.Remote$Response )


statusCode​


statusCode() : int​

Return​

( int )


time​


time() : long​

Return​

( long )


time(time: long) : RemoteResponse​

Attributes​
NAMETYPEDESCRIPTION
timelong
Return​

( RemoteResponse )


url​


url() : string​

Return​

( string )