public interface Query<T> extends SphereRequest<PagedQueryResult<T>>
Modifier and Type | Field and Description |
---|---|
static long |
MAX_OFFSET |
static long |
MIN_OFFSET |
Modifier and Type | Method and Description |
---|---|
PagedQueryResult<T> |
deserialize(HttpResponse httpResponse)
Takes an http response and maps it into a Java object of type T.
|
default Query<T> |
toQuery() |
canDeserialize, httpRequestIntent
static final long MAX_OFFSET
static final long MIN_OFFSET
PagedQueryResult<T> deserialize(HttpResponse httpResponse)
SphereRequest
SphereRequest.canDeserialize(HttpResponse)
if the response can be consumed.deserialize
in interface SphereRequest<PagedQueryResult<T>>
httpResponse
- the http response of the API