[jboss-cvs] jboss-portal/wsrp/src/main/org/jboss/portal/wsrp ...

Chris Laprun chris.laprun at jboss.com
Thu Aug 24 20:54:54 EDT 2006


  User: claprun 
  Date: 06/08/24 20:54:54

  Modified:    wsrp/src/main/org/jboss/portal/wsrp  WSRPTypeFactory.java
  Log:
  - Re-wrote cookie/session management. Now handles cookies outside of initCookie calls. Still needs more testing.
  - Added ProducerSessionInformationTestCase and other-tests in build.xml for WSRP.
  - Minor improvements.
  
  Revision  Changes    Path
  1.23      +13 -8     jboss-portal/wsrp/src/main/org/jboss/portal/wsrp/WSRPTypeFactory.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: WSRPTypeFactory.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-portal/wsrp/src/main/org/jboss/portal/wsrp/WSRPTypeFactory.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -b -r1.22 -r1.23
  --- WSRPTypeFactory.java	2 Aug 2006 23:48:23 -0000	1.22
  +++ WSRPTypeFactory.java	25 Aug 2006 00:54:54 -0000	1.23
  @@ -62,7 +62,7 @@
    * information.
    *
    * @author <a href="mailto:chris.laprun at jboss.com">Chris Laprun</a>
  - * @version $Revision: 1.22 $
  + * @version $Revision: 1.23 $
    * @since 2.4
    */
   public class WSRPTypeFactory
  @@ -369,16 +369,16 @@
      }
   
      /**
  -    * mimeType: The mime type of the returned markup. The mimeType field MUST be specified whenever markup is returned,
  -    * and if the markupBinary field is used to return the markup, the mime type MUST include the character set for
  -    * textual mime types using the syntax specified in RFC1522[14] (e.g. "text/html; charset=UTF-8"). In this particular
  -    * case this character set MAY be different than the response message.
  -    * <p/>
       * useCachedMarkup(xsd:boolean[false])?, mimeType(xsd:string)?, (markupString(xsd:string) |
       * markupBinary(xsd:base64Binary)), locale(xsd:string)?, requiresUrlRewriting(xsd:boolean[false])?,
       * cacheControl(CacheControl)?, preferredTitle(xsd:string)?, extensions(Extension)*
       *
  -    * @return
  +    * @param mimeType The mime type of the returned markup. The mimeType field MUST be specified whenever markup is
  +    *                 returned, and if the markupBinary field is used to return the markup, the mime type MUST include
  +    *                 the character set for textual mime types using the syntax specified in RFC1522[14] (e.g.
  +    *                 "text/html; charset=UTF-8"). In this particular case this character set MAY be different than the
  +    *                 response message.
  +    * @return a new MarkupContext
       */
      public static MarkupContext createMarkupContext(String mimeType, byte[] markupBinary)
      {
  @@ -393,7 +393,12 @@
      /**
       * sessionID(xsd:string), expires(xsd:int), extensions(Extension)*
       *
  -    * @return
  +    * @param sessionID An opaque string the Portlet defines for referencing state that is stored locally on the
  +    *                  Producer. The maximum length of a sessionID is 4096 characters,
  +    * @param expires   Maximum number of seconds between invocations referencing the sessionID before the Producer will
  +    *                  schedule releasing the related resources. A value of -1 indicates that the sessionID will never
  +    *                  expire.
  +    * @return a new SessionContext
       */
      public static SessionContext createSessionContext(String sessionID, int expires)
      {
  
  
  



More information about the jboss-cvs-commits mailing list