REST Streaming with Java


#1

Recently I’ve implemented the Nest REST Streaming API with Java in the Nest binding of openHAB and it works really well! :slight_smile:

This implementation may be of interest to others because I did not find any Java examples for this. Most of the protocol is implemented in NestStreamingRestClient.java.

The implementation is using the EventSource class of Jersey. openHAB is OSGi based, but you can ofcourse use Jersey as long as it is on your classpath.