I am creating an application to read Event Stream and keeps the information on my database.
I have an URL: http://xx.xx.xx.xx:8080/restconf/streams/mno-vnf-event/json
headers required: Accept:text/event-stream
, Authorization:Basic YWRtaW46o99RtaW4-
, Content-Type:application/yang-data+json
Now I want to fetch stream from above API using java (not javascript code), anyone has the idea to accomplish this.