patchForObject

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

Extension for RestOperations.patchForObject providing a patchForObject<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

Sebastien Deleuze

Since

5.0.2