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

getForObject

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

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

Author
Jon Schneider

Author
Sebastien Deleuze

Since
5.0