postForObject
inline fun <T> RestOperations.postForObject(url: String, request: Any? = null, vararg uriVariables: Any): T
inline fun <T> RestOperations.postForObject(url: String, request: Any? = null, uriVariables: Map<String, *>): T
Extension for RestOperations.postForObject providing a postForObject<Foo>(...)
variant leveraging Kotlin reified type parameters. Like the original Java method, this extension is subject to type erasure. Use exchange if you need to retain actual generic type arguments.
Author
Jon Schneider
Sebastien Deleuze
Since
5.0