@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