cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1310264 - /cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/common/gzip/GZIPFeature.java
Date Fri, 06 Apr 2012 09:43:45 GMT
Author: sergeyb
Date: Fri Apr  6 09:43:45 2012
New Revision: 1310264

URL: http://svn.apache.org/viewvc?rev=1310264&view=rev
Log:
[CXF-4230] Updating Javadoc of GZIPFeature, patch from Simon Olofsson applied with thanks

Modified:
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/common/gzip/GZIPFeature.java

Modified: cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/common/gzip/GZIPFeature.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/common/gzip/GZIPFeature.java?rev=1310264&r1=1310263&r2=1310264&view=diff
==============================================================================
--- cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/common/gzip/GZIPFeature.java
(original)
+++ cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/common/gzip/GZIPFeature.java
Fri Apr  6 09:43:45 2012
@@ -37,23 +37,15 @@ import org.apache.cxf.message.Message;
  * <![CDATA[
  * <jaxws:endpoint ...>
  *   <jaxws:features>
- *     <bean class="org.apache.cxf.transport.http.gzip.GZIPFeature"/>
+ *     <bean class="org.apache.cxf.transport.common.gzip.GZIPFeature"/>
  *   </jaxws:features>
  * </jaxws:endpoint>
  * ]]>
  * </pre>
- * Attaching this feature to a client will cause outgoing request messages to
- * be compressed and incoming compressed responses to be uncompressed.  If you
- * want the service to know that your client can accept compressed responses,
- * you will also need to set the "AcceptEncoding" value in the relevant HTTP
- * conduit client configuration.
- * <pre>
- * <![CDATA[
- * <http-conf:conduit name="{http://apache.org/hello_world_soap_http}SoapPort.http-conduit">
- *   <http-conf:client AcceptEncoding="gzip" />
- * </http-conf:conduit>
- * ]]>
- * </pre>
+ * Attaching this feature to a client will cause outgoing request messages 
+ * to be compressed and incoming compressed responses to be uncompressed. 
+ * Accept-Encoding header is sent to let the service know 
+ * that your client can accept compressed responses. 
  */
 @NoJSR250Annotations
 public class GZIPFeature extends AbstractFeature {



Mime
View raw message