Uses of Class
com.tccc.kos.commons.util.dispatcher.ResponseEnvelope
Packages that use ResponseEnvelope
Package
Description
Provides classes to access REST services hosted in the cloud.
Provides access to the API client for making and receiving local REST calls.
-
Uses of ResponseEnvelope in com.tccc.commons.httpclient
Methods in com.tccc.commons.httpclient that return ResponseEnvelopeMethods in com.tccc.commons.httpclient with parameters of type ResponseEnvelopeModifier and TypeMethodDescriptionvoid
JsonResp.setEnvelope
(ResponseEnvelope<T> envelope) Sets the response envelope. -
Uses of ResponseEnvelope in com.tccc.kos.commons.web.api
Methods in com.tccc.kos.commons.web.api that return ResponseEnvelopeModifier and TypeMethodDescription<T> ResponseEnvelope<T>
Calls a controller on the node with the specified alias with a PUT request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
ApiClient.aliasApi
(String alias, RequestMethod method, String url, Map<String, Object> headers, Object body, Class<T> clazz, int timeout) Calls a controller on the node with the specified alias with a POST request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
ApiClient.aliasDelete
(String alias, String url, Class<T> clazz) Calls a controller on the node with the specified alias with a DELETE request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
Calls a controller on the node with the specified alias with a DELETE request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
Calls a controller on the node with the specified alias with a GET request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
Calls a controller on the node with the specified alias with a GET request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
Calls a controller on the node with the specified alias with a POST request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
ApiClient.aliasPost
(String alias, String url, Map<String, Object> headers, Object body, Class<T> clazz) Calls a controller on the node with the specified alias with a POST request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
ApiClient.aliasPut
(String alias, String url, Map<String, Object> headers, Object body, Class<T> clazz) Calls a controller on the node with the specified alias with a PUT request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
ApiClient.api
(ApiRequest<T> request) Performs an API call using the settings in therequest
object.<T> ResponseEnvelope<T>
ApiClient.localApi
(RequestMethod method, String url, Map<String, Object> headers, Object body, Class<T> clazz) Calls a local controller with a POST request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
ApiClient.localDelete
(String url, Class<T> clazz) Calls a local controller with a DELETE request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
Calls a local controller with a DELETE request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
Calls a local controller with a GET request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
Calls a local controller with a GET request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
Calls a local controller with a POST request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
Calls a local controller with a POST request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
Calls a local controller with a PUT request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
Calls a local controller with a PUT request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
ApiClient.nodeApi
(NodeId node, RequestMethod method, String url, Map<String, Object> headers, Object body, Class<T> clazz, int timeout) Calls a controller on the specified node with a POST request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
ApiClient.nodeDelete
(NodeId node, String url, Class<T> clazz) Calls a controller on the specified node with a DELETE request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
Calls a controller on the specified node with a DELETE request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
Calls a controller on the specified node with a GET request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
Calls a controller on the specified node with a GET request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
Calls a controller on the specified node with a POST request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
ApiClient.nodePost
(NodeId node, String url, Map<String, Object> headers, Object body, Class<T> clazz) Calls a controller on the specified node with a POST request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
Calls a controller on the specified node with a PUT request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
Calls a controller on the specified node with a PUT request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
ApiClient.primaryApi
(RequestMethod method, String url, Map<String, Object> headers, Object body, Class<T> clazz, int timeout) Calls a controller on the primary node with a POST request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
ApiClient.primaryDelete
(String url, Class<T> clazz) Calls a controller on the primary node with a DELETE request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
ApiClient.primaryDelete
(String url, Object body, Class<T> clazz) Calls a controller on the primary node with a DELETE request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
Calls a controller on the primary node with a DELETE request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
Calls a controller on the primary node with a DELETE request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
ApiClient.primaryGet
(String url, Class<T> clazz) Calls a controller on the primary node with a GET request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
Calls a controller on the primary node with a GET request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
ApiClient.primaryPost
(String url, Object body, Class<T> clazz) Calls a controller on the primary node with a POST request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
Calls a controller on the primary node with a POST request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
ApiClient.primaryPut
(String url, Object body, Class<T> clazz) Calls a controller on the primary node with a PUT request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>
Calls a controller on the primary node with a PUT request and then deserializes the response to the specified class.