RequestProxy

public abstract class RequestProxy<T extends Crypto.RequestProxy<? extends Object, U>, U>

An abstract proxy for building requests. Adds the functionality of adding callbacks and a terminal method for fetching data.

Parameters

<T>

a concrete RequestProxy implementation

<U>

the response type this proxy's terminal fetch returns

Inheritors

Functions

Link copied to clipboard
public void fetch()
Link copied to clipboard
public U fetchSync()
Sets the right builder and makes a synchronous request using fetch.
Link copied to clipboard
public T forSymbol(String symbol)
Link copied to clipboard
public T market(String symbol)
Link copied to clipboard
Link copied to clipboard
public T onSuccess(Fetcher.SuccessCallback<? extends Object> callback)
Link copied to clipboard
public void setSyncResponse(U response)