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}
+ */
+@Deprecated
public class AbstractIdentifierAwareJaxRsProvider {
private static final String POST = "POST";
private Request request;
protected final String getIdentifier() {
- return uriInfo.getPathParameters(false).getFirst(RestconfConstants.IDENTIFIER);
+ return this.uriInfo.getPathParameters(false).getFirst(RestconfConstants.IDENTIFIER);
}
protected InstanceIdentifierContext<?> getInstanceIdentifierContext() {
}
protected UriInfo getUriInfo() {
- return uriInfo;
+ return this.uriInfo;
}
protected boolean isPost() {
- return POST.equals(request.getMethod());
+ return POST.equals(this.request.getMethod());
}
}