@Controller @RequestMapping(value="/events") public class EventsController extends RestController
| Constructor and Description |
|---|
EventsController() |
| Modifier and Type | Method and Description |
|---|---|
com.sitewhere.spi.device.event.IDeviceEvent |
getEventById(String eventId,
javax.servlet.http.HttpServletRequest servletRequest)
Used by AJAX calls to find an event by unique id.
|
getTenant, getTenantAuthToken, handleAccessDenied, handleMissingContent, handleRuntimeException, handleSuccessfulAdd, handleSystemException@RequestMapping(value="/{eventId}",
method=GET)
@ResponseBody
@Secured(value="ROLE_REST")
public com.sitewhere.spi.device.event.IDeviceEvent getEventById(@PathVariable
String eventId,
javax.servlet.http.HttpServletRequest servletRequest)
throws com.sitewhere.spi.SiteWhereException
eventId - com.sitewhere.spi.SiteWhereExceptionCopyright © 2016 SiteWhere, LLC.. All rights reserved.