Package org.stellar.sdk.requests
Class StrictSendPathsRequestBuilder
java.lang.Object
org.stellar.sdk.requests.RequestBuilder
org.stellar.sdk.requests.StrictSendPathsRequestBuilder
-
Nested Class Summary
Nested classes/interfaces inherited from class org.stellar.sdk.requests.RequestBuilder
RequestBuilder.Order -
Constructor Summary
ConstructorsConstructorDescriptionStrictSendPathsRequestBuilder(okhttp3.OkHttpClient httpClient, okhttp3.HttpUrl serverURI) -
Method Summary
Modifier and TypeMethodDescriptiondestinationAccount(String account) destinationAssets(List<Asset> assets) execute()static Page<PathResponse> execute(okhttp3.OkHttpClient httpClient, okhttp3.HttpUrl uri) sourceAmount(String amount) sourceAsset(Asset asset) Methods inherited from class org.stellar.sdk.requests.RequestBuilder
cursor, limit, order, setAssetParameter, setAssetsParameter
-
Constructor Details
-
StrictSendPathsRequestBuilder
public StrictSendPathsRequestBuilder(okhttp3.OkHttpClient httpClient, okhttp3.HttpUrl serverURI)
-
-
Method Details
-
destinationAccount
-
destinationAssets
-
sourceAmount
-
sourceAsset
-
execute
public static Page<PathResponse> execute(okhttp3.OkHttpClient httpClient, okhttp3.HttpUrl uri) throws IOException, TooManyRequestsException - Throws:
TooManyRequestsException- when too many requests were sent to the Horizon server.IOException- if the request fails due to an IOException, including but not limited to a timeout, connection failure etc.
-
execute
- Throws:
TooManyRequestsException- when too many requests were sent to the Horizon server.IOException- if the request fails due to an IOException, including but not limited to a timeout, connection failure etc.
-