resttemplate.postforobject

<T> T postForObject(String url, Object request, Class<T> responseType, Map<String,?> uriVariables)
Create a new resource by POSTing the given object to the URI template, and returns the representation found in the response.
<T> T postForObject(String url, Object request, Class<T> responseType, Object... uriVariables)
Create a new resource by POSTing the given object to the URI template, and returns the representation found in the response.
<T> T postForObject(URI url, Object request, Class<T> responseType)
Create a new resource by POSTing the given object to the URL, and returns the representation found in the response.
posted on 2017-08-25 15:09  白衣胜雪  阅读(3247)  评论(0编辑  收藏  举报