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 caa4726d5c0ac8ba822ad8c249373e95ea786be9..49072d83395cb683d21f9508b59349dc760e32f0 100644 (file)
@@ -17,7 +17,7 @@ import org.opendaylight.netconf.sal.restconf.impl.InstanceIdentifierContext;
 
 /**
  * @deprecated This class will be replaced by
- *             {@link org.opendaylight.restconf.utils.patch.AbstractIdentifierAwareJaxRsProvider}
+ *             {@link org.opendaylight.restconf.jersey.providers.AbstractIdentifierAwareJaxRsProvider}
  */
 @Deprecated
 public class AbstractIdentifierAwareJaxRsProvider {
@@ -45,4 +45,8 @@ public class AbstractIdentifierAwareJaxRsProvider {
     protected boolean isPost() {
         return POST.equals(this.request.getMethod());
     }
+
+    Request getRequest() {
+        return this.request;
+    }
 }