@Path(value="/streams/{streamId}/alerts")
public class StreamAlertReceiverResource
extends RestResource
objectMapper, serverStatus, userService| Constructor and Description |
|---|
StreamAlertReceiverResource(StreamService streamService,
AlarmCallbackConfigurationService alarmCallbackConfigurationService,
EmailAlarmCallback emailAlarmCallback,
AlarmCallbackFactory alarmCallbackFactory,
Indexer indexer) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
addReceiver(String streamid,
String entity,
String type) |
javax.ws.rs.core.Response |
removeReceiver(String streamid,
String entity,
String type) |
javax.ws.rs.core.Response |
sendDummyAlert(String streamid) |
buildHistogramMap, buildMeterMap, buildTimerMap, bytesToValueMap, checkPermission, checkPermission, getCurrentUser, getSubject, guessContentType, isPermitted, isPermitted, json, loadObjectId, page, restrictToMaster, setPrettyPrint@Inject public StreamAlertReceiverResource(StreamService streamService, AlarmCallbackConfigurationService alarmCallbackConfigurationService, EmailAlarmCallback emailAlarmCallback, AlarmCallbackFactory alarmCallbackFactory, Indexer indexer)
@POST
@Path(value="receivers")
public javax.ws.rs.core.Response addReceiver(@PathParam(value="streamId")
String streamid,
@QueryParam(value="entity")
String entity,
@QueryParam(value="type")
String type)
@DELETE
@Path(value="receivers")
public javax.ws.rs.core.Response removeReceiver(@PathParam(value="streamId")
String streamid,
@QueryParam(value="entity")
String entity,
@QueryParam(value="type")
String type)
@GET
@Path(value="sendDummyAlert")
public javax.ws.rs.core.Response sendDummyAlert(@PathParam(value="streamId")
String streamid)
throws TransportConfigurationException,
org.apache.commons.mail.EmailException
TransportConfigurationExceptionorg.apache.commons.mail.EmailExceptionCopyright © 2012–2014 TORCH GmbH. All rights reserved.