Merge "Bug 9092: revert to org.json temporarily"
[netconf.git] / restconf / sal-rest-connector / src / main / java / org / opendaylight / netconf / sal / rest / impl / AbstractIdentifierAwareJaxRsProvider.java
index caa4726d5c0ac8ba822ad8c249373e95ea786be9..c384d54ba053cbd0a64b7dac89a373b5cef907f4 100644 (file)
@@ -16,8 +16,10 @@ import org.opendaylight.netconf.sal.restconf.impl.ControllerContext;
 import org.opendaylight.netconf.sal.restconf.impl.InstanceIdentifierContext;
 
 /**
+ * JAX-RS Provider.
+ *
  * @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 +47,8 @@ public class AbstractIdentifierAwareJaxRsProvider {
     protected boolean isPost() {
         return POST.equals(this.request.getMethod());
     }
+
+    Request getRequest() {
+        return this.request;
+    }
 }