resttemplate.postforobject

Posted 白衣胜雪

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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.

以上是关于resttemplate.postforobject的主要内容,如果未能解决你的问题,请参考以下文章