Use DatabindContext in deserialization path
[netconf.git] / restconf / restconf-nb / src / main / java / org / opendaylight / restconf / nb / rfc8040 / URLConstants.java
index e7fca64d2de56d8a4c2c1d419c88f0a40e5f7de5..cfe46d8320aba3a8e2e9780c8fd366adae3cd1e2 100644 (file)
@@ -15,13 +15,22 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 @NonNullByDefault
 public final class URLConstants {
     /**
-     * The first element URL path element for RESTCONF implementation, i.e. {@code https://localhost/BASE_PATH}.
+     * The first URL path element for RESTCONF implementation, i.e. {@code https://localhost/BASE_PATH}.
      */
     public static final String BASE_PATH = "rests";
     /**
-     * The second element for Server Sent Events support, i.e. {@code https://localhost/BASE_PATH/NOTIF}.
+     * The second URL path element for streams support, i.e. {@code https://localhost/BASE_PATH/STREAMS}.
      */
-    public static final String SSE_SUBPATH = "notif";
+    public static final String STREAMS_SUBPATH = "streams";
+    /**
+     * The second URL path element for YANG library module support, i.e. {@code https://localhost/BASE_PATH/MODULES}.
+     */
+    public static final String MODULES_SUBPATH = "modules";
+    /**
+     * The query parameter carrying the optional revision in YANG library module support, i.e.
+     * {@code https://localhost/BASE_PATH/MODULES?REVISION=2023-11-26}.
+     */
+    public static final String MODULES_REVISION_QUERY = "revision";
 
     private URLConstants() {
         // Hidden on purpose