fun <reified T> RestOperations.postForEntity(url: String, request: Any? = null, vararg uriVariables: Any): ResponseEntity<T>
fun <reified T> RestOperations.postForEntity(url: String, request: Any? = null, uriVariables: Map<String, *>): ResponseEntity<T>
fun <reified T> RestOperations.postForEntity(url: URI, request: Any? = null): ResponseEntity<T>
Extension for RestOperations.postForEntity providing a postForEntity<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
Author
Sebastien Deleuze
Since
5.0