exchange
inline fun <T> RestOperations.exchange(url: String, method: HttpMethod, requestEntity: HttpEntity<*>? = null, vararg uriVariables: Any): ResponseEntity<T>
Content copied to clipboard
inline fun <T> RestOperations.exchange(url: String, method: HttpMethod, requestEntity: HttpEntity<*>? = null, uriVariables: Map<String, *>): ResponseEntity<T>
Content copied to clipboard
inline fun <T> RestOperations.exchange(url: URI, method: HttpMethod, requestEntity: HttpEntity<*>? = null): ResponseEntity<T>
Content copied to clipboard
inline fun <T> RestOperations.exchange(requestEntity: RequestEntity<*>): ResponseEntity<T>
Content copied to clipboard
Extension for RestOperations.exchange providing an exchange<Foo>(...)
variant leveraging Kotlin reified type parameters. This extension is not subject to type erasure and retains actual generic type arguments.
Author
Jon Schneider
Sebastien Deleuze
Since
5.0