onSuccess

public T onSuccess(Fetcher.SuccessCallback<? extends Object> callback)

Sets the callback invoked with the parsed response when an async call succeeds.

Return

this proxy, for method chaining

Parameters

callback

successful fetch handler