2 * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.restconf.nb.rfc8040;
10 import org.eclipse.jdt.annotation.NonNullByDefault;
13 * Various constants related to the layout of URLs on which the implementation resides.
16 public final class URLConstants {
18 * The second URL path element for streams support, i.e. {@code https://localhost/BASE_PATH/STREAMS}.
20 public static final String STREAMS_SUBPATH = "streams";
22 * The second URL path element for YANG library module support, i.e. {@code https://localhost/BASE_PATH/MODULES}.
24 public static final String MODULES_SUBPATH = "modules";
26 * The query parameter carrying the optional revision in YANG library module support, i.e.
27 * {@code https://localhost/BASE_PATH/MODULES?REVISION=2023-11-26}.
29 public static final String MODULES_REVISION_QUERY = "revision";
31 private URLConstants() {