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.utils;
10 import com.google.common.base.Splitter;
13 * Util class for Restconf constants.
16 public final class RestconfConstants {
18 public static final String XML = "+xml";
19 public static final String JSON = "+json";
20 public static final String MOUNT = "yang-ext:mount";
21 public static final String IDENTIFIER = "identifier";
22 public static final Splitter SLASH_SPLITTER = Splitter.on('/');
23 public static final String BASE_URI_PATTERN = "rests";
25 private RestconfConstants() {
26 throw new UnsupportedOperationException("Util class");