Uses of Class
com.tccc.commons.httpclient.JsonResp
Packages that use JsonResp
Package
Description
Provides classes to access REST services hosted in the cloud.
-
Uses of JsonResp in com.tccc.commons.httpclient
Methods in com.tccc.commons.httpclient that return JsonRespModifier and TypeMethodDescription<T> JsonResp<T>
Performs a DELETE request on the specified URL and then parses the response into an instance of the specified class.<T> JsonResp<T>
Performs a DELETE request on the specified URI and then parses the response into an instance of the specified class.<T> JsonResp<T>
JsonTemplate.fromJson
(ContentResponse resp, Class<T> clazz, boolean envelope) Parses the body of the specified response into the specified class.<T> JsonResp<T>
Performs a GET request on the specified URL and then parses the response into an instance of the specified class.<T> JsonResp<T>
Performs a GET request on the specified URI and then parses the response into an instance of the specified class.<T> JsonResp<T>
Performs a POST request on the specified URL with the body object and then parses the response into an instance of the specified class.<T> JsonResp<T>
Performs a POST request on the specified URI with the body object and then parses the response into an instance of the specified class.<T> JsonResp<T>
Performs a PUT request on the specified URL with the body object and then parses the response into an instance of the specified class.<T> JsonResp<T>
Performs a PUT request on the specified URI with the body object and then parses the response into an instance of the specified class.<T> JsonResp<T>
Sends the given request and then parses the response into an instance of the specified class.<T> JsonResp<T>
JsonTemplate.send
(org.eclipse.jetty.http.HttpMethod method, String url, Object body, Class<T> clazz, boolean envelope) Sends the given request and then parses the response into an instance of the specified class.