public void updateClientNotificationListener ( RESTRequest request , String objectNameStr , NotificationFilter [ ] filters , JSONConverter converter ) { NotificationTargetInformation nti = toNotificationTargetInformation ( request , objectNameStr ) ; ClientNotificationListener listener = listeners . get ( nti ) ; if ( listener == null ) { throw ErrorHelper . createRESTHandlerJsonException ( new RuntimeException ( "There are no listeners registered for " + nti ) , converter , APIConstants . STATUS_BAD_REQUEST ) ; } //Make the update listener . addClientNotification ( filters ) ; }
Update the listener for the given object name with the provided filters