retrieveList
Perform an HTTP request for the given request object emitting the full HTTP response from returned Publisher and converting the response body to a list of the specified type. Allows for client.retrieveList<Hero>(HttpRequest.GET("/heroes/any"))
instead of client.retrieve(HttpRequest.GET<Any>("/heroes/any"), Argument.listOf(Hero::class.java))
.
Return
The response from the client as an instance of List
Author
Will Buck
Since
1.0.0
Parameters
T
The argument type
request
The HttpRequest you want to perform