Bug 6995 - Change event notification subscription usability PART2
[netconf.git] / restconf / sal-rest-connector / src / main / java / org / opendaylight / netconf / sal / rest / api / RestconfService.java
index ade5a41d5878729fa9a238ec1989aeb0fed81de7..88dd38df524742b4a1a5a68c9edb2f12cb52f42e 100644 (file)
@@ -212,7 +212,8 @@ public interface RestconfService {
 
     @GET
     @Path("/streams/stream/{identifier:.+}")
-    public Response subscribeToStream(@Encoded @PathParam("identifier") String identifier, @Context UriInfo uriInfo);
+    public NormalizedNodeContext subscribeToStream(@Encoded @PathParam("identifier") String identifier,
+            @Context UriInfo uriInfo);
 
     /**
      * @deprecated do not use this method. It will be replaced by