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.streams;
11 * Constants for streams.
13 public final class RestconfStreamsConstants {
14 public static final String DATASTORE_PARAM_NAME = "datastore";
15 public static final String SCOPE_PARAM_NAME = "scope";
17 // Prefixes for stream names
18 public static final String DATA_SUBSCRIPTION = "data-change-event-subscription";
19 public static final String NOTIFICATION_STREAM = "notification-stream";
20 static final String DEVICE_NOTIFICATION_STREAM = "device-notification-stream";
22 public static final String STREAMS_PATH = "ietf-restconf-monitoring:restconf-state/streams";
23 public static final String STREAM_PATH_PART = "/stream=";
24 public static final String STREAM_PATH = STREAMS_PATH + STREAM_PATH_PART;
25 public static final String STREAM_ACCESS_PATH_PART = "/access=";
26 public static final String STREAM_LOCATION_PATH_PART = "/location";
28 private RestconfStreamsConstants() {