| java.lang.Object | ||
| ↳ | com.neomades.event.Event | |
| ↳ | com.neomades.content.ContentResponse | |
ContentQuery response.
A ContentQuery is executed through Cache and Network. Then, two types
of response are generated by ContentManager, the first is the
response from the cache (an intermediate response - the last saved data from
cache), the second from the network (the final response - fresh data from
server).
To receive ContentResponse from ContentManager, either
override onReceiveEvent(Event) or register an
EventReceiver in the Application event bus.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | TYPE | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ContentQuery | getQuery() | ||||||||||
| boolean |
isIntermediate()
Returns if the response is provided by the cache (return true) or network
(return false)
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.neomades.event.Event
| |||||||||||
From class
java.lang.Object
| |||||||||||
Returns if the response is provided by the cache (return true) or network (return false)