Specialize RestconfInvokeOperationsServiceImpl.invokeRpc()
[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 first element URL path element for RESTCONF implementation, i.e. {@code https://localhost/BASE_PATH}.
19      */
20     public static final String BASE_PATH = "rests";
21     /**
22      * The second element for Server Sent Events support, i.e. {@code https://localhost/BASE_PATH/NOTIF}.
23      */
24     public static final String SSE_SUBPATH = "notif";
25
26     private URLConstants() {
27         // Hidden on purpose
28     }
29 }