*/
package org.opendaylight.netconf.sal.rest.api;
-import org.opendaylight.restconf.Draft16;
+import org.opendaylight.restconf.Rfc8040;
import org.opendaylight.yangtools.yang.common.QName;
/**
- * @deprecated Do not use old implementation of restconf draft. It will be
- * replaced by {@link Draft16}.
+ * Base Draft for Restconf project.
*
+ * @deprecated Do not use old implementation of restconf draft. It will be
+ * replaced by {@link Rfc8040}.
*/
@Deprecated
public class Draft02 {
- public static interface MediaTypes {
+ public interface MediaTypes {
String API = "application/yang.api";
String DATASTORE = "application/yang.datastore";
String DATA = "application/yang.data";
String STREAM = "application/yang.stream";
}
- public static interface RestConfModule {
+ public interface RestConfModule {
String REVISION = "2013-10-19";
String NAME = "ietf-restconf";
QName ERROR_INFO_QNAME = QName.create(IETF_RESTCONF_QNAME, "error-info");
}
- public static interface Paths {
-
- }
+ public interface Paths {}
}