You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2009/04/01 19:10:26 UTC

svn commit: r760964 - in /cxf/branches/2.1.x-fixes: ./ api/src/main/java/org/apache/cxf/message/Message.java

Author: dkulp
Date: Wed Apr  1 17:10:25 2009
New Revision: 760964

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

........
  r758910 | ericjohnson | 2009-03-26 18:51:14 -0400 (Thu, 26 Mar 2009) | 1 line
  
  added some javadoc
........

Modified:
    cxf/branches/2.1.x-fixes/   (props changed)
    cxf/branches/2.1.x-fixes/api/src/main/java/org/apache/cxf/message/Message.java

Propchange: cxf/branches/2.1.x-fixes/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Apr  1 17:10:25 2009
@@ -1 +1 @@
-/cxf/trunk:743446,753380,753397,753421,754585,755365,757499,757859,757899,757935,757951,758195,758303,758308,758378,758690,759890,759961,759963-759964,759966,760029,760073,760150,760178,760456,760468
+/cxf/trunk:743446,753380,753397,753421,754585,755365,757499,757859,757899,757935,757951,758195,758303,758308,758378,758690,758910,759890,759961,759963-759964,759966,760029,760073,760150,760178,760456,760468

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

Modified: cxf/branches/2.1.x-fixes/api/src/main/java/org/apache/cxf/message/Message.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.1.x-fixes/api/src/main/java/org/apache/cxf/message/Message.java?rev=760964&r1=760963&r2=760964&view=diff
==============================================================================
--- cxf/branches/2.1.x-fixes/api/src/main/java/org/apache/cxf/message/Message.java (original)
+++ cxf/branches/2.1.x-fixes/api/src/main/java/org/apache/cxf/message/Message.java Wed Apr  1 17:10:25 2009
@@ -25,6 +25,10 @@
 import org.apache.cxf.interceptor.InterceptorChain;
 import org.apache.cxf.transport.Destination;
 
+/**
+ * The base interface for all all message implementations. 
+ * All message objects passed to interceptors use this interface.
+ */
 public interface Message extends StringMap {
     
     String TRANSPORT = "org.apache.cxf.transport";    
@@ -70,6 +74,13 @@
     String getId();
     void setId(String id);
     
+    /**
+     * Returns a live copy of the messages interceptor chain. This is 
+     * useful when an interceptor wants to modify the interceptor chain on the 
+     * fly.
+     * 
+     * @return the interceptor chain used to process the message
+     */
     InterceptorChain getInterceptorChain();
     void setInterceptorChain(InterceptorChain chain);
 
@@ -116,6 +127,12 @@
      */
     <T> void removeContent(Class<T> format);
     
-    
+    /**
+     * Queries the Message object's metadata for a specific property.
+     * 
+     * @param key the Message interface's property strings that 
+     * correlates to the desired property 
+     * @return the property's value
+     */
     Object getContextualProperty(String key);   
 }