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.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 char SLASH = '/';
23 public static final Splitter SLASH_SPLITTER = Splitter.on(SLASH);
24 public static final String DRAFT_PATTERN = "restconf/17";
26 private RestconfConstants() {
27 throw new UnsupportedOperationException("Util class");