Bug 6848 - repackage providers for jersey+create xml
[netconf.git] / restconf / sal-rest-connector / src / main / java / org / opendaylight / netconf / sal / rest / impl / AbstractIdentifierAwareJaxRsProvider.java
index 80494561cbe66bcd07f05b7cadfa67f2a08f1412..49072d83395cb683d21f9508b59349dc760e32f0 100644 (file)
@@ -14,11 +14,10 @@ import javax.ws.rs.core.UriInfo;
 import org.opendaylight.netconf.sal.rest.api.RestconfConstants;
 import org.opendaylight.netconf.sal.restconf.impl.ControllerContext;
 import org.opendaylight.netconf.sal.restconf.impl.InstanceIdentifierContext;
-import org.opendaylight.restconf.utils.patch.Draft16AbstractIdentifierAwareJaxRsProvider;
 
 /**
  * @deprecated This class will be replaced by
- * {@link Draft16AbstractIdentifierAwareJaxRsProvider}
+ *             {@link org.opendaylight.restconf.jersey.providers.AbstractIdentifierAwareJaxRsProvider}
  */
 @Deprecated
 public class AbstractIdentifierAwareJaxRsProvider {
@@ -46,4 +45,8 @@ public class AbstractIdentifierAwareJaxRsProvider {
     protected boolean isPost() {
         return POST.equals(this.request.getMethod());
     }
+
+    Request getRequest() {
+        return this.request;
+    }
 }