cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r891830 - in /cxf/branches/2.2.x-fixes: ./ systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
Date Thu, 17 Dec 2009 18:39:26 GMT
Author: sergeyb
Date: Thu Dec 17 18:39:26 2009
New Revision: 891830

URL: http://svn.apache.org/viewvc?rev=891830&view=rev
Log:
Merged revisions 891827 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r891827 | sergeyb | 2009-12-17 18:34:40 +0000 (Thu, 17 Dec 2009) | 1 line
  
  Removing redundant test interceptor
........

Modified:
    cxf/branches/2.2.x-fixes/   (props changed)
    cxf/branches/2.2.x-fixes/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java

Propchange: cxf/branches/2.2.x-fixes/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Dec 17 18:39:26 2009
@@ -1 +1 @@
-/cxf/trunk:891375-891393,891452,891817
+/cxf/trunk:891375-891393,891452,891817,891827

Propchange: cxf/branches/2.2.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.2.x-fixes/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java?rev=891830&r1=891829&r2=891830&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
(original)
+++ cxf/branches/2.2.x-fixes/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
Thu Dec 17 18:39:26 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