Fix JaxRsFormattableBodyWriter
[netconf.git] / restconf / restconf-nb / src / main / java / org / opendaylight / restconf / nb / rfc8040 / URLConstants.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.restconf.nb.rfc8040;
9
10 import org.eclipse.jdt.annotation.NonNullByDefault;
11
12 /**
13  * Various constants related to the layout of URLs on which the implementation resides.
14  */
15 @NonNullByDefault
16 public final class URLConstants {
17     /**
18      * The second URL path element for streams support, i.e. {@code https://localhost/BASE_PATH/STREAMS}.
19      */
20     public static final String STREAMS_SUBPATH = "streams";
21     /**
22      * The second URL path element for YANG library module support, i.e. {@code https://localhost/BASE_PATH/MODULES}.
23      */
24     public static final String MODULES_SUBPATH = "modules";
25     /**
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}.
28      */
29     public static final String MODULES_REVISION_QUERY = "revision";
30
31     private URLConstants() {
32         // Hidden on purpose
33     }
34 }