Package io.ably.lib.http
Class BasePaginatedQuery.ResultRequest<T>
java.lang.Object
io.ably.lib.http.BasePaginatedQuery.ResultRequest<T>
- Type Parameters:
-
T
-
- Direct Known Subclasses:
BasePaginatedQuery.ResultRequest.Failed
- Enclosing class:
- BasePaginatedQuery<T>
Wraps a Http.Request<BasePaginatedResult> to fixate on either a sync or an async interface.
The Http.Request gives you a BasePaginatedResult whether you call its sync() or its async()
methods, but we'd like to give it us a PaginatedResult or a AsyncPaginatedResult
respectively, so this does the necessary bridging.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A ResultRequest that has already failed due to a previous condition. -
Method Summary
-
Method Details
-
sync
- Throws:
AblyException
-
async
-