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>

public static class BasePaginatedQuery.ResultRequest<T> extends Object
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.