spring-framework / org.springframework.web.client / postForObject

postForObject

inline fun <reified T : Any> RestOperations.postForObject(url: String, request: Any, vararg uriVariables: Any): T?
inline fun <reified T : Any> RestOperations.postForObject(url: String, request: Any, uriVariables: Map<String, *>): T?
inline fun <reified T : Any> RestOperations.postForObject(url: URI, request: Any): T?

Extension for RestOperations.postForObject avoiding specifying the type parameter thanks to Kotlin reified type parameters.

Author
Jon Schneider

Author
Sebastien Deleuze

Since
5.0