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