public class PathsRequestBuilder extends RequestBuilder
RequestBuilder.Order
Constructor and Description |
---|
PathsRequestBuilder(OkHttpClient httpClient,
HttpUrl serverURI) |
Modifier and Type | Method and Description |
---|---|
PathsRequestBuilder |
destinationAccount(KeyPair account) |
PathsRequestBuilder |
destinationAmount(java.lang.String amount) |
PathsRequestBuilder |
destinationAsset(Asset asset) |
Page<PathResponse> |
execute() |
static Page<PathResponse> |
execute(OkHttpClient httpClient,
HttpUrl uri) |
PathsRequestBuilder |
sourceAccount(KeyPair account) |
cursor, limit, order
public PathsRequestBuilder(OkHttpClient httpClient, HttpUrl serverURI)
public PathsRequestBuilder destinationAccount(KeyPair account)
public PathsRequestBuilder sourceAccount(KeyPair account)
public PathsRequestBuilder destinationAmount(java.lang.String amount)
public PathsRequestBuilder destinationAsset(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