Qorus Integration Engine®
4.0.3.p2_git
|
Java wrapper for the OMQ::QorusSystemRestHelper class in Qore. More...
Public Member Methods | |
QorusSystemRestHelper (QoreObject obj) | |
creates the object as a wrapper for the Qore object | |
QorusSystemRestHelper () throws Throwable | |
creates the object pointing to the first local listener for the current instance More... | |
QorusSystemRestHelper (String name) throws Throwable | |
creates the object with the configuration given by the name of the remote instance | |
QorusSystemRestHelper (String username, String password) throws Throwable | |
creates the object pointing to the first local listener for the current instance using the given user and password for connecting More... | |
QorusSystemRestHelper (HashMap< String, Object > info) throws Throwable | |
creates the object with the configuration given | |
HashMap< String, Object > | getRestWithInfo (String path, Object args, HashMap< String, Object > hdr) throws Throwable |
executes a GET call on the remote REST service and returns the response More... | |
HashMap< String, Object > | getRestWithInfo (String path, Object args) throws Throwable |
executes a GET call on the remote REST service and returns the response More... | |
HashMap< String, Object > | getRestWithInfo (String path) throws Throwable |
executes a GET call on the remote REST service and returns the response More... | |
Object | getRest (String path, Object args, HashMap< String, Object > hdr) throws Throwable |
executes a GET call on the remote REST service and returns the response More... | |
Object | getRest (String path, Object args) throws Throwable |
executes a GET call on the remote REST service and returns the response More... | |
Object | getRest (String path) throws Throwable |
executes a GET call on the remote REST service and returns the response More... | |
HashMap< String, Object > | putRestWithInfo (String path, Object args, HashMap< String, Object > hdr) throws Throwable |
executes a PUT call on the remote REST service and returns the response More... | |
HashMap< String, Object > | putRestWithInfo (String path, Object args) throws Throwable |
executes a PUT call on the remote REST service and returns the response More... | |
HashMap< String, Object > | putRestithInfo (String path) throws Throwable |
executes a PUT call on the remote REST service and returns the response More... | |
Object | putRest (String path, Object args, HashMap< String, Object > hdr) throws Throwable |
executes a PUT call on the remote REST service and returns the response More... | |
Object | putRest (String path, Object args) throws Throwable |
executes a PUT call on the remote REST service and returns the response More... | |
Object | putRest (String path) throws Throwable |
executes a PUT call on the remote REST service and returns the response More... | |
HashMap< String, Object > | postRestWithInfo (String path, Object args, HashMap< String, Object > hdr) throws Throwable |
executes a POST call on the remote REST service and returns the response More... | |
HashMap< String, Object > | postRestWithInfo (String path, Object args) throws Throwable |
executes a POST call on the remote REST service and returns the response More... | |
HashMap< String, Object > | postRestWithInfo (String path) throws Throwable |
executes a POST call on the remote REST service and returns the response More... | |
Object | postRest (String path, Object args, HashMap< String, Object > hdr) throws Throwable |
executes a POST call on the remote REST service and returns the response More... | |
Object | postRest (String path, Object args) throws Throwable |
executes a POST call on the remote REST service and returns the response More... | |
Object | postRest (String path) throws Throwable |
executes a POST call on the remote REST service and returns the response More... | |
HashMap< String, Object > | delRestWithInfo (String path, Object args, HashMap< String, Object > hdr) throws Throwable |
executes a DELETE call on the remote REST service and returns the response More... | |
HashMap< String, Object > | delRestWithInfo (String path, Object args) throws Throwable |
executes a DELETE call on the remote REST service and returns the response More... | |
HashMap< String, Object > | delRestWithInfo (String path) throws Throwable |
executes a DELETE call on the remote REST service and returns the response More... | |
Object | delRest (String path, Object args, HashMap< String, Object > hdr) throws Throwable |
executes a DELETE call on the remote REST service and returns the response More... | |
Object | delRest (String path, Object args) throws Throwable |
executes a DELETE call on the remote REST service and returns the response More... | |
Object | delRest (String path) throws Throwable |
executes a DELETE call on the remote REST service and returns the response More... | |
HashMap< String, Object > | restDoWithInfo (String m, String path, Object args, HashMap< String, Object > hdr) throws Throwable |
executes the remote REST call and returns the response More... | |
HashMap< String, Object > | restDoWithInfo (String m, String path, Object args) throws Throwable |
executes the remote REST call and returns the response More... | |
HashMap< String, Object > | restDoWithInfo (String m, String path) throws Throwable |
executes the remote REST call and returns the response More... | |
Object | restDo (String m, String path, Object args, HashMap< String, Object > hdr) throws Throwable |
executes the remote REST call and returns the response More... | |
Object | restDo (String m, String path, Object args) throws Throwable |
executes the remote REST call and returns the response More... | |
Object | restDo (String m, String path) throws Throwable |
executes the remote REST call and returns the response More... | |
Java wrapper for the OMQ::QorusSystemRestHelper class in Qore.
|
inline |
creates the object pointing to the first local listener for the current instance
|
inline |
creates the object pointing to the first local listener for the current instance using the given user and password for connecting
username | the username for the connection |
password | the password for the connection |
|
inline |
executes a DELETE
call on the remote REST service and returns the response
path | the URI path for the request |
args | any arguments to the REST request |
hdr | a hash of optional HTTP header info to add to the request |
|
inline |
executes a DELETE
call on the remote REST service and returns the response
path | the URI path for the request |
args | any arguments to the REST request |
|
inline |
executes a DELETE
call on the remote REST service and returns the response
path | the URI path for the request |
|
inline |
executes a DELETE
call on the remote REST service and returns the response
path | the URI path for the request |
args | any arguments to the REST request |
hdr | a hash of optional HTTP header info to add to the request |
rv:
the deserialized response bodyinfo:
a hash of request headers and other information about the HTTP request; if present the hash will contain the following keys:headers:
a hash of outgoing HTTP request headersrequest-uri
: the request URI string sent (ex: "DELETE /services/async/38.0/job HTTP/1.1"
)body-content-type
: the outgoing message body Mime Content-Type
valueresponse-headers
: a hash of incoming HTTP headers in the responsechunked:
set to True if the response was received with chunked transfer encodingresponse-code
: the HTTP response coderesponse-body
: the raw message body in the response (after any content decoding)response-serialization
: the type of message serialization in the response; see RestClient::RestClient::DataSerializationOptions for possible valuesrequest-body
: the raw message body in the request (before any content encoding)request-serialization
: the type of message serialization in the request; see RestClient::RestClient::DataSerializationOptions for possible values
|
inline |
executes a DELETE
call on the remote REST service and returns the response
path | the URI path for the request |
args | any arguments to the REST request |
rv:
the deserialized response bodyinfo:
a hash of request headers and other information about the HTTP request; if present the hash will contain the following keys:headers:
a hash of outgoing HTTP request headersrequest-uri
: the request URI string sent (ex: "DELETE /services/async/38.0/job HTTP/1.1"
)body-content-type
: the outgoing message body Mime Content-Type
valueresponse-headers
: a hash of incoming HTTP headers in the responsechunked:
set to True if the response was received with chunked transfer encodingresponse-code
: the HTTP response coderesponse-body
: the raw message body in the response (after any content decoding)response-serialization
: the type of message serialization in the response; see RestClient::RestClient::DataSerializationOptions for possible valuesrequest-body
: the raw message body in the request (before any content encoding)request-serialization
: the type of message serialization in the request; see RestClient::RestClient::DataSerializationOptions for possible values
|
inline |
executes a DELETE
call on the remote REST service and returns the response
path | the URI path for the request |
rv:
the deserialized response bodyinfo:
a hash of request headers and other information about the HTTP request; if present the hash will contain the following keys:headers:
a hash of outgoing HTTP request headersrequest-uri
: the request URI string sent (ex: "DELETE /services/async/38.0/job HTTP/1.1"
)body-content-type
: the outgoing message body Mime Content-Type
valueresponse-headers
: a hash of incoming HTTP headers in the responsechunked:
set to True if the response was received with chunked transfer encodingresponse-code
: the HTTP response coderesponse-body
: the raw message body in the response (after any content decoding)response-serialization
: the type of message serialization in the response; see RestClient::RestClient::DataSerializationOptions for possible valuesrequest-body
: the raw message body in the request (before any content encoding)request-serialization
: the type of message serialization in the request; see RestClient::RestClient::DataSerializationOptions for possible values
|
inline |
executes a GET
call on the remote REST service and returns the response
path | the URI path for the request |
args | any arguments to the REST request |
hdr | a hash of optional HTTP header info to add to the request |
|
inline |
executes a GET
call on the remote REST service and returns the response
path | the URI path for the request |
args | any arguments to the REST request |
|
inline |
executes a GET
call on the remote REST service and returns the response
path | the URI path for the request |
|
inline |
executes a GET
call on the remote REST service and returns the response
path | the URI path for the request |
args | any arguments to the REST request |
hdr | a hash of optional HTTP header info to add to the request |
rv:
the deserialized response bodyinfo:
a hash of request headers and other information about the HTTP request; if present the hash will contain the following keys:headers:
a hash of outgoing HTTP request headersrequest-uri
: the request URI string sent (ex: "GET /services/async/38.0/job HTTP/1.1"
)body-content-type
: the outgoing message body Mime Content-Type
valueresponse-headers
: a hash of incoming HTTP headers in the responsechunked:
set to True if the response was received with chunked transfer encodingresponse-code
: the HTTP response coderesponse-body
: the raw message body in the response (after any content decoding)response-serialization
: the type of message serialization in the response; see RestClient::RestClient::DataSerializationOptions for possible valuesrequest-body
: the raw message body in the request (before any content encoding)request-serialization
: the type of message serialization in the request; see RestClient::RestClient::DataSerializationOptions for possible values
|
inline |
executes a GET
call on the remote REST service and returns the response
path | the URI path for the request |
args | any arguments to the REST request |
rv:
the deserialized response bodyinfo:
a hash of request headers and other information about the HTTP request; if present the hash will contain the following keys:headers:
a hash of outgoing HTTP request headersrequest-uri
: the request URI string sent (ex: "GET /services/async/38.0/job HTTP/1.1"
)body-content-type
: the outgoing message body Mime Content-Type
valueresponse-headers
: a hash of incoming HTTP headers in the responsechunked:
set to True if the response was received with chunked transfer encodingresponse-code
: the HTTP response coderesponse-body
: the raw message body in the response (after any content decoding)response-serialization
: the type of message serialization in the response; see RestClient::RestClient::DataSerializationOptions for possible valuesrequest-body
: the raw message body in the request (before any content encoding)request-serialization
: the type of message serialization in the request; see RestClient::RestClient::DataSerializationOptions for possible values
|
inline |
executes a GET
call on the remote REST service and returns the response
path | the URI path for the request |
rv:
the deserialized response bodyinfo:
a hash of request headers and other information about the HTTP request; if present the hash will contain the following keys:headers:
a hash of outgoing HTTP request headersrequest-uri
: the request URI string sent (ex: "GET /services/async/38.0/job HTTP/1.1"
)body-content-type
: the outgoing message body Mime Content-Type
valueresponse-headers
: a hash of incoming HTTP headers in the responsechunked:
set to True if the response was received with chunked transfer encodingresponse-code
: the HTTP response coderesponse-body
: the raw message body in the response (after any content decoding)response-serialization
: the type of message serialization in the response; see RestClient::RestClient::DataSerializationOptions for possible valuesrequest-body
: the raw message body in the request (before any content encoding)request-serialization
: the type of message serialization in the request; see RestClient::RestClient::DataSerializationOptions for possible values
|
inline |
executes a POST
call on the remote REST service and returns the response
path | the URI path for the request |
args | any arguments to the REST request |
hdr | a hash of optional HTTP header info to add to the request |
|
inline |
executes a POST
call on the remote REST service and returns the response
path | the URI path for the request |
args | any arguments to the REST request |
|
inline |
executes a POST
call on the remote REST service and returns the response
path | the URI path for the request |
|
inline |
executes a POST
call on the remote REST service and returns the response
path | the URI path for the request |
args | any arguments to the REST request |
hdr | a hash of optional HTTP header info to add to the request |
rv:
the deserialized response bodyinfo:
a hash of request headers and other information about the HTTP request; if present the hash will contain the following keys:headers:
a hash of outgoing HTTP request headersrequest-uri
: the request URI string sent (ex: "POST /services/async/38.0/job HTTP/1.1"
)body-content-type
: the outgoing message body Mime Content-Type
valueresponse-headers
: a hash of incoming HTTP headers in the responsechunked:
set to True if the response was received with chunked transfer encodingresponse-code
: the HTTP response coderesponse-body
: the raw message body in the response (after any content decoding)response-serialization
: the type of message serialization in the response; see RestClient::RestClient::DataSerializationOptions for possible valuesrequest-body
: the raw message body in the request (before any content encoding)request-serialization
: the type of message serialization in the request; see RestClient::RestClient::DataSerializationOptions for possible values
|
inline |
executes a POST
call on the remote REST service and returns the response
path | the URI path for the request |
args | any arguments to the REST request |
rv:
the deserialized response bodyinfo:
a hash of request headers and other information about the HTTP request; if present the hash will contain the following keys:headers:
a hash of outgoing HTTP request headersrequest-uri
: the request URI string sent (ex: "POST /services/async/38.0/job HTTP/1.1"
)body-content-type
: the outgoing message body Mime Content-Type
valueresponse-headers
: a hash of incoming HTTP headers in the responsechunked:
set to True if the response was received with chunked transfer encodingresponse-code
: the HTTP response coderesponse-body
: the raw message body in the response (after any content decoding)response-serialization
: the type of message serialization in the response; see RestClient::RestClient::DataSerializationOptions for possible valuesrequest-body
: the raw message body in the request (before any content encoding)request-serialization
: the type of message serialization in the request; see RestClient::RestClient::DataSerializationOptions for possible values
|
inline |
executes a POST
call on the remote REST service and returns the response
path | the URI path for the request |
rv:
the deserialized response bodyinfo:
a hash of request headers and other information about the HTTP request; if present the hash will contain the following keys:headers:
a hash of outgoing HTTP request headersrequest-uri
: the request URI string sent (ex: "POST /services/async/38.0/job HTTP/1.1"
)body-content-type
: the outgoing message body Mime Content-Type
valueresponse-headers
: a hash of incoming HTTP headers in the responsechunked:
set to True if the response was received with chunked transfer encodingresponse-code
: the HTTP response coderesponse-body
: the raw message body in the response (after any content decoding)response-serialization
: the type of message serialization in the response; see RestClient::RestClient::DataSerializationOptions for possible valuesrequest-body
: the raw message body in the request (before any content encoding)request-serialization
: the type of message serialization in the request; see RestClient::RestClient::DataSerializationOptions for possible values
|
inline |
executes a PUT
call on the remote REST service and returns the response
path | the URI path for the request |
args | any arguments to the REST request |
hdr | a hash of optional HTTP header info to add to the request |
|
inline |
executes a PUT
call on the remote REST service and returns the response
path | the URI path for the request |
args | any arguments to the REST request |
|
inline |
executes a PUT
call on the remote REST service and returns the response
path | the URI path for the request |
|
inline |
executes a PUT
call on the remote REST service and returns the response
path | the URI path for the request |
rv:
the deserialized response bodyinfo:
a hash of request headers and other information about the HTTP request; if present the hash will contain the following keys:headers:
a hash of outgoing HTTP request headersrequest-uri
: the request URI string sent (ex: "PUT /services/async/38.0/job HTTP/1.1"
)body-content-type
: the outgoing message body Mime Content-Type
valueresponse-headers
: a hash of incoming HTTP headers in the responsechunked:
set to True if the response was received with chunked transfer encodingresponse-code
: the HTTP response coderesponse-body
: the raw message body in the response (after any content decoding)response-serialization
: the type of message serialization in the response; see RestClient::RestClient::DataSerializationOptions for possible valuesrequest-body
: the raw message body in the request (before any content encoding)request-serialization
: the type of message serialization in the request; see RestClient::RestClient::DataSerializationOptions for possible values
|
inline |
executes a PUT
call on the remote REST service and returns the response
path | the URI path for the request |
args | any arguments to the REST request |
hdr | a hash of optional HTTP header info to add to the request |
rv:
the deserialized response bodyinfo:
a hash of request headers and other information about the HTTP request; if present the hash will contain the following keys:headers:
a hash of outgoing HTTP request headersrequest-uri
: the request URI string sent (ex: "PUT /services/async/38.0/job HTTP/1.1"
)body-content-type
: the outgoing message body Mime Content-Type
valueresponse-headers
: a hash of incoming HTTP headers in the responsechunked:
set to True if the response was received with chunked transfer encodingresponse-code
: the HTTP response coderesponse-body
: the raw message body in the response (after any content decoding)response-serialization
: the type of message serialization in the response; see RestClient::RestClient::DataSerializationOptions for possible valuesrequest-body
: the raw message body in the request (before any content encoding)request-serialization
: the type of message serialization in the request; see RestClient::RestClient::DataSerializationOptions for possible values
|
inline |
executes a PUT
call on the remote REST service and returns the response
path | the URI path for the request |
args | any arguments to the REST request |
rv:
the deserialized response bodyinfo:
a hash of request headers and other information about the HTTP request; if present the hash will contain the following keys:headers:
a hash of outgoing HTTP request headersrequest-uri
: the request URI string sent (ex: "PUT /services/async/38.0/job HTTP/1.1"
)body-content-type
: the outgoing message body Mime Content-Type
valueresponse-headers
: a hash of incoming HTTP headers in the responsechunked:
set to True if the response was received with chunked transfer encodingresponse-code
: the HTTP response coderesponse-body
: the raw message body in the response (after any content decoding)response-serialization
: the type of message serialization in the response; see RestClient::RestClient::DataSerializationOptions for possible valuesrequest-body
: the raw message body in the request (before any content encoding)request-serialization
: the type of message serialization in the request; see RestClient::RestClient::DataSerializationOptions for possible values
|
inline |
executes the remote REST call and returns the response
m | the HTTP method for the request (ex: "GET" ) |
path | the URI path for the request |
args | any arguments to the REST request |
hdr | a hash of optional HTTP header info to add to the request |
|
inline |
executes the remote REST call and returns the response
m | the HTTP method for the request (ex: "GET" ) |
path | the URI path for the request |
args | any arguments to the REST request |
|
inline |
executes the remote REST call and returns the response
m | the HTTP method for the request (ex: "GET" ) |
path | the URI path for the request |
|
inline |
executes the remote REST call and returns the response
m | the HTTP method for the request (ex: "GET" ) |
path | the URI path for the request |
args | any arguments to the REST request |
hdr | a hash of optional HTTP header info to add to the request |
rv:
the deserialized response bodyinfo:
a hash of request headers and other information about the HTTP request; if present the hash will contain the following keys:headers:
a hash of outgoing HTTP request headersrequest-uri
: the request URI string sent (ex: "DELETE /services/async/38.0/job HTTP/1.1"
)body-content-type
: the outgoing message body Mime Content-Type
valueresponse-headers
: a hash of incoming HTTP headers in the responsechunked:
set to True if the response was received with chunked transfer encodingresponse-code
: the HTTP response coderesponse-body
: the raw message body in the response (after any content decoding)response-serialization
: the type of message serialization in the response; see RestClient::RestClient::DataSerializationOptions for possible valuesrequest-body
: the raw message body in the request (before any content encoding)request-serialization
: the type of message serialization in the request; see RestClient::RestClient::DataSerializationOptions for possible values
|
inline |
executes the remote REST call and returns the response
m | the HTTP method for the request (ex: "GET" ) |
path | the URI path for the request |
args | any arguments to the REST request |
rv:
the deserialized response bodyinfo:
a hash of request headers and other information about the HTTP request; if present the hash will contain the following keys:headers:
a hash of outgoing HTTP request headersrequest-uri
: the request URI string sent (ex: "DELETE /services/async/38.0/job HTTP/1.1"
)body-content-type
: the outgoing message body Mime Content-Type
valueresponse-headers
: a hash of incoming HTTP headers in the responsechunked:
set to True if the response was received with chunked transfer encodingresponse-code
: the HTTP response coderesponse-body
: the raw message body in the response (after any content decoding)response-serialization
: the type of message serialization in the response; see RestClient::RestClient::DataSerializationOptions for possible valuesrequest-body
: the raw message body in the request (before any content encoding)request-serialization
: the type of message serialization in the request; see RestClient::RestClient::DataSerializationOptions for possible values
|
inline |
executes the remote REST call and returns the response
m | the HTTP method for the request (ex: "GET" ) |
path | the URI path for the request |
rv:
the deserialized response bodyinfo:
a hash of request headers and other information about the HTTP request; if present the hash will contain the following keys:headers:
a hash of outgoing HTTP request headersrequest-uri
: the request URI string sent (ex: "DELETE /services/async/38.0/job HTTP/1.1"
)body-content-type
: the outgoing message body Mime Content-Type
valueresponse-headers
: a hash of incoming HTTP headers in the responsechunked:
set to True if the response was received with chunked transfer encodingresponse-code
: the HTTP response coderesponse-body
: the raw message body in the response (after any content decoding)response-serialization
: the type of message serialization in the response; see RestClient::RestClient::DataSerializationOptions for possible valuesrequest-body
: the raw message body in the request (before any content encoding)request-serialization
: the type of message serialization in the request; see RestClient::RestClient::DataSerializationOptions for possible values