public class DomainEventSourceResource
extends org.restlet.Restlet
The feed is paged, with one current set page, one working set page, and the rest being archive pages that never change. The links "next", "previous", "first" and "last" are used as expected per the Atom spec.
/ = current set of most recent events (event range: count-pagesize to count)
/n,m = events from index n to index m. These are archive pages.
/n = working set page, where n is the first event index to be presented
Constructor and Description |
---|
DomainEventSourceResource(EventSource source) |
Modifier and Type | Method and Description |
---|---|
void |
handle(org.restlet.Request request,
org.restlet.Response response) |
public DomainEventSourceResource(@Service EventSource source)