Javadoc
[mkjsf-moved-to-github.git] / src / main / java / com / indexdata / mkjsf / pazpar2 / commands / StatCommand.java
index 73867fd..355c6f2 100644 (file)
@@ -1,7 +1,14 @@
 package com.indexdata.mkjsf.pazpar2.commands;\r
 \r
 import com.indexdata.mkjsf.pazpar2.commands.sp.ServiceProxyCommand;\r
-\r
+import com.indexdata.mkjsf.pazpar2.commands.sp.StatCommandSp;\r
+\r
+/**\r
+ * <b><code>stat</code></b> Pazpar2 command, referenced as: <code>pzreq.stat</code>\r
+ * \r
+ * @author Niels Erik\r
+ *\r
+ */\r
 public class StatCommand extends Pazpar2Command implements ServiceProxyCommand {\r
 \r
   private static final long serialVersionUID = 3980630346114157336L;\r
@@ -20,7 +27,7 @@ public class StatCommand extends Pazpar2Command implements ServiceProxyCommand {
 \r
   @Override\r
   public ServiceProxyCommand getSp() {\r
-    return this;\r
+    return new StatCommandSp(this);\r
   }\r
 \r
   @Override\r