abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r669192 - in /incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl: AbstractCollectionAdapter.java AbstractProvider.java
Date Wed, 18 Jun 2008 14:47:13 GMT
Author: jmsnell
Date: Wed Jun 18 07:47:13 2008
New Revision: 669192

URL: http://svn.apache.org/viewvc?rev=669192&view=rev
Log:
https://issues.apache.org/jira/browse/ABDERA-175 - "Default return status for unimplemented
functions is incorrect"

Modified:
    incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/AbstractCollectionAdapter.java
    incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/AbstractProvider.java

Modified: incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/AbstractCollectionAdapter.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/AbstractCollectionAdapter.java?rev=669192&r1=669191&r2=669192&view=diff
==============================================================================
--- incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/AbstractCollectionAdapter.java
(original)
+++ incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/AbstractCollectionAdapter.java
Wed Jun 18 07:47:13 2008
@@ -104,35 +104,35 @@
   }
 
   public ResponseContext deleteMedia(RequestContext request) {
-    return ProviderHelper.notsupported(request);
+    return ProviderHelper.notallowed(request);
   }
 
   public ResponseContext getMedia(RequestContext request) {
-    return ProviderHelper.notsupported(request);
+    return ProviderHelper.notallowed(request);
   }
 
   public ResponseContext headMedia(RequestContext request) {
-    return ProviderHelper.notsupported(request);
+    return ProviderHelper.notallowed(request);
   }
 
   public ResponseContext optionsMedia(RequestContext request) {
-    return ProviderHelper.notsupported(request);
+    return ProviderHelper.notallowed(request);
   }
 
   public ResponseContext putMedia(RequestContext request) {
-    return ProviderHelper.notsupported(request);
+    return ProviderHelper.notallowed(request);
   }
 
   public ResponseContext postMedia(RequestContext request) {
-    return ProviderHelper.notsupported(request);
+    return ProviderHelper.notallowed(request);
   }
 
   public ResponseContext headEntry(RequestContext request) {
-    return ProviderHelper.notsupported(request);
+    return ProviderHelper.notallowed(request);
   }
 
   public ResponseContext optionsEntry(RequestContext request) {
-    return ProviderHelper.notsupported(request);
+    return ProviderHelper.notallowed(request);
   }
 
   public abstract String getAuthor(RequestContext request) throws ResponseContextException;

Modified: incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/AbstractProvider.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/AbstractProvider.java?rev=669192&r1=669191&r2=669192&view=diff
==============================================================================
--- incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/AbstractProvider.java
(original)
+++ incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/AbstractProvider.java
Wed Jun 18 07:47:13 2008
@@ -234,7 +234,7 @@
           adapter.postEntry(context) :
           adapter instanceof MediaCollectionAdapter ?
             ((MediaCollectionAdapter)adapter).postMedia(context) :
-            ProviderHelper.notsupported(context);
+            ProviderHelper.notallowed(context);
       } else return null;
   }
   
@@ -274,7 +274,7 @@
           return mcadapter.optionsMedia(context);
         else return null;
       } else {
-        return ProviderHelper.notsupported(context);
+        return ProviderHelper.notallowed(context);
       }
   }
   



Mime
View raw message