X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=restconf%2Fsal-rest-connector%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fnetconf%2Fsal%2Frest%2Fimpl%2FAbstractIdentifierAwareJaxRsProvider.java;h=49072d83395cb683d21f9508b59349dc760e32f0;hb=f3a63a5aa4a59f3dd47f0e62ea900416e4a37811;hp=80494561cbe66bcd07f05b7cadfa67f2a08f1412;hpb=9013e567cd592fccefd801bd8c97440a810c3574;p=netconf.git diff --git a/restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/rest/impl/AbstractIdentifierAwareJaxRsProvider.java b/restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/rest/impl/AbstractIdentifierAwareJaxRsProvider.java index 80494561cb..49072d8339 100644 --- a/restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/rest/impl/AbstractIdentifierAwareJaxRsProvider.java +++ b/restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/rest/impl/AbstractIdentifierAwareJaxRsProvider.java @@ -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; + } }