Split Restconf implementations (draft02 and RFC) - base api
[netconf.git] / restconf / restconf-nb-bierman02 / src / main / java / org / opendaylight / restconf / utils / RestconfConstants.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.utils;
9
10 import com.google.common.base.Splitter;
11
12 /**
13  * {@link Deprecated} move to splitted module restconf-nb-rfc8040. Util class for Restconf constants.
14  *
15  */
16 @Deprecated
17 public final class RestconfConstants {
18
19     public static final String XML = "+xml";
20     public static final String JSON = "+json";
21     public static final String MOUNT = "yang-ext:mount";
22     public static final String IDENTIFIER = "identifier";
23     public static final char SLASH = '/';
24     public static final Splitter SLASH_SPLITTER = Splitter.on(SLASH);
25     public static final String DRAFT_PATTERN = "restconf/17";
26
27     private RestconfConstants() {
28         throw new UnsupportedOperationException("Util class");
29     }
30 }