Package org.apache.unomi.rest.endpoints
Class EventsCollectorEndpoint
- java.lang.Object
-
- org.apache.unomi.rest.endpoints.EventsCollectorEndpoint
-
@Produces("application/json;charset=UTF-8") @Consumes("application/json") @Path("/") public class EventsCollectorEndpoint extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
SYSTEMSCOPE
-
Constructor Summary
Constructors Constructor Description EventsCollectorEndpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventCollectorResponse
collectAsGet(EventsCollectorRequest eventsCollectorRequest, Long timestampAsString)
EventCollectorResponse
collectAsPost(EventsCollectorRequest eventsCollectorRequest, Long timestampAsLong)
javax.ws.rs.core.Response
options()
-
-
-
Field Detail
-
SYSTEMSCOPE
public static final String SYSTEMSCOPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
options
@OPTIONS @Path("/eventcollector") public javax.ws.rs.core.Response options()
-
collectAsGet
@GET @Path("/eventcollector") public EventCollectorResponse collectAsGet(@QueryParam("payload") EventsCollectorRequest eventsCollectorRequest, @QueryParam("timestamp") Long timestampAsString)
-
collectAsPost
@POST @Path("/eventcollector") public EventCollectorResponse collectAsPost(EventsCollectorRequest eventsCollectorRequest, @QueryParam("timestamp") Long timestampAsLong)
-
-