onSuccess

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

Registers the callback invoked with the parsed response when an asynchronous fetch succeeds.

Return

this proxy, for chaining

Parameters

callback

the success callback