cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r891827 - /cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
Date Thu, 17 Dec 2009 18:34:41 GMT
Author: sergeyb
Date: Thu Dec 17 18:34:40 2009
New Revision: 891827

URL: http://svn.apache.org/viewvc?rev=891827&view=rev
Log:
Removing redundant test interceptor

Modified:
    cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java

Modified: cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java?rev=891827&r1=891826&r2=891827&view=diff
==============================================================================
--- cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
(original)
+++ cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
Thu Dec 17 18:34:40 2009
@@ -39,17 +39,12 @@
 import org.apache.commons.httpclient.methods.PutMethod;
 import org.apache.commons.httpclient.methods.RequestEntity;
 import org.apache.cxf.helpers.IOUtils;
-import org.apache.cxf.interceptor.Fault;
 import org.apache.cxf.io.CachedOutputStream;
 import org.apache.cxf.jaxrs.client.JAXRSClientFactory;
 import org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean;
 import org.apache.cxf.jaxrs.client.WebClient;
 import org.apache.cxf.jaxrs.ext.xml.XMLSource;
-import org.apache.cxf.jaxrs.model.OperationResourceInfo;
 import org.apache.cxf.jaxrs.provider.XSLTJaxbProvider;
-import org.apache.cxf.message.Message;
-import org.apache.cxf.phase.AbstractPhaseInterceptor;
-import org.apache.cxf.phase.Phase;
 import org.apache.cxf.testutil.common.AbstractBusClientServerTestBase;
 
 import org.junit.BeforeClass;
@@ -1122,22 +1117,5 @@
         return bos.getOut().toString();        
     }
 
-    @Ignore
-    public class EmptyPostOutInterceptor extends AbstractPhaseInterceptor<Message>
{
-                
-        public EmptyPostOutInterceptor() {
-             super(Phase.PRE_MARSHAL);
-            
-        } 
-
-        public void handleMessage(Message message) throws Fault {
-            OperationResourceInfo ori = message.getContent(OperationResourceInfo.class);
-            if (ori != null && ori.getMethodToInvoke().getName().equals("emptypost"))
{
-                message.put("org.apache.cxf.post.empty", true);
-            }
-        }
-        
-        
-
-    }
+    
 }



Mime
View raw message