public class StrictSendPathsRequestBuilder extends RequestBuilder
RequestBuilder.Order
Constructor and Description |
---|
StrictSendPathsRequestBuilder(OkHttpClient httpClient,
HttpUrl serverURI) |
Modifier and Type | Method and Description |
---|---|
StrictSendPathsRequestBuilder |
destinationAccount(java.lang.String account) |
StrictSendPathsRequestBuilder |
destinationAssets(java.util.List<Asset> assets) |
Page<PathResponse> |
execute() |
static Page<PathResponse> |
execute(OkHttpClient httpClient,
HttpUrl uri) |
StrictSendPathsRequestBuilder |
sourceAmount(java.lang.String amount) |
StrictSendPathsRequestBuilder |
sourceAsset(Asset asset) |
cursor, limit, order, setAssetParameter, setAssetsParameter
public StrictSendPathsRequestBuilder(OkHttpClient httpClient, HttpUrl serverURI)
public StrictSendPathsRequestBuilder destinationAccount(java.lang.String account)
public StrictSendPathsRequestBuilder destinationAssets(java.util.List<Asset> assets)
public StrictSendPathsRequestBuilder sourceAmount(java.lang.String amount)
public StrictSendPathsRequestBuilder sourceAsset(Asset asset)
public static Page<PathResponse> execute(OkHttpClient httpClient, HttpUrl uri) throws java.io.IOException, TooManyRequestsException
TooManyRequestsException
- when too many requests were sent to the Horizon server.java.io.IOException
public Page<PathResponse> execute() throws java.io.IOException, TooManyRequestsException
TooManyRequestsException
- when too many requests were sent to the Horizon server.java.io.IOException