Constructors

Link copied to clipboard
Creates a proxy backed by a new BalanceSheetRequest.Builder.

Functions

Link copied to clipboard
public void fetch()
Makes an asynchronous http request to fetch the data built by this proxy, invoking whichever of onSuccess and onFailure was registered.
Link copied to clipboard
Sets the right builder and makes a synchronous request using fetch.
Link copied to clipboard
public Proxy forSymbol(String symbol)
Sets the ticker symbol to request data for.
Link copied to clipboard
Registers the callback invoked when an asynchronous fetch fails.
Link copied to clipboard
public Proxy onSuccess(Fetcher.SuccessCallback<? extends Object> callback)
Registers the callback invoked with the parsed response when an asynchronous fetch succeeds.
Link copied to clipboard
public void setSyncResponse(ProxyResponse response)
Stores the response received by fetchSync's internal callback, so it can be returned to the caller.