Package org.stellar.sdk.responses
Class Page<T>
java.lang.Object
org.stellar.sdk.responses.Response
org.stellar.sdk.responses.Page<T>
- All Implemented Interfaces:
TypedResponse<Page<T>>
Represents page of objects.
- See Also:
-
Nested Class Summary
-
Method Summary
-
Method Details
-
getNextPage
- Returns:
- The next page of results or null when there is no link for the next page of results
- Throws:
NetworkException
- All the exceptions below are subclasses of NetworkErrorBadRequestException
- if the request fails due to a bad request (4xx)BadResponseException
- if the request fails due to a bad response from the server (5xx)TooManyRequestsException
- if the request fails due to too many requests sent to the serverRequestTimeoutException
- When Horizon returns aTimeout
or connection timeout occurredUnknownResponseException
- if the server returns an unknown status codeConnectionErrorException
- When the request cannot be executed due to cancellation or connectivity problems, etc.
-
setType
- Specified by:
setType
in interfaceTypedResponse<T>
-
getRecords
-
getLinks
-
getType
-
equals
-
hashCode
public int hashCode()
-