Thread-safe implementation.
Example usage:void handleNotification(Subscription subscription, UnparsedNotification notification) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(notification.getContent())); System.out.println(reader.readLine()); reader.close(); }@author Matthias Linder (mlinder) @since 1.14 @deprecated (scheduled to be removed in 1.17) Use{@link com.google.api.client.googleapis.notifications.UnparsedNotification} instead.
|
|