@Produces(value="application/json;charset=UTF-8") @Consumes(value="application/json") @Path(value="/") public class EventsCollectorEndpoint extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SYSTEMSCOPE |
Constructor and Description |
---|
EventsCollectorEndpoint() |
Modifier and Type | Method and Description |
---|---|
EventCollectorResponse |
collectAsGet(EventsCollectorRequest eventsCollectorRequest,
Long timestampAsString) |
EventCollectorResponse |
collectAsPost(EventsCollectorRequest eventsCollectorRequest,
Long timestampAsLong) |
javax.ws.rs.core.Response |
options() |
public static final String SYSTEMSCOPE
@OPTIONS @Path(value="/eventcollector") public javax.ws.rs.core.Response options()
@GET @Path(value="/eventcollector") public EventCollectorResponse collectAsGet(@QueryParam(value="payload") EventsCollectorRequest eventsCollectorRequest, @QueryParam(value="timestamp") Long timestampAsString)
@POST @Path(value="/eventcollector") public EventCollectorResponse collectAsPost(EventsCollectorRequest eventsCollectorRequest, @QueryParam(value="timestamp") Long timestampAsLong)
Copyright © 2014–2023 Apache Software Foundation. All rights reserved.