Fuel: Jackson extensions: responseObject() should return CancellableRequest object

Created on 11 Oct 2020  路  1Comment  路  Source: kittinunf/fuel

Some responseObject(...) extension methods for Jackson don't expose result of CancellableRequest type, which makes them inconsistent with other helper methods and limits their use cases for no reason (e.g. no way to cancel() or join() request when these shorthand methods used).

Specifically, shorthand methods that accept the triple of _request_, _response_ and _result_ have Unit return type.

bug

Most helpful comment

This is my fault for not noticing it in #569. Thank you for bringing this up 谩nd fixing it. You're great.

>All comments

This is my fault for not noticing it in #569. Thank you for bringing this up 谩nd fixing it. You're great.

Was this page helpful?
0 / 5 - 0 ratings