weaver      2005/01/04 07:59:54

  Modified:    jetspeed-api/src/java/org/apache/jetspeed/request
                        RequestContext.java
  Log:
  consolidating request/session keys.
  
  Revision  Changes    Path
  1.13      +3 -6      
jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/request/RequestContext.java
  
  Index: RequestContext.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/request/RequestContext.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- RequestContext.java       17 Oct 2004 14:02:38 -0000      1.12
  +++ RequestContext.java       4 Jan 2005 15:59:54 -0000       1.13
  @@ -23,11 +23,11 @@
   import javax.servlet.http.HttpServletRequest;
   import javax.servlet.http.HttpServletResponse;
   
  +import org.apache.jetspeed.PortalReservedParameters;
   import org.apache.jetspeed.aggregator.ContentDispatcher;
   import org.apache.jetspeed.capabilities.CapabilityMap;
   import org.apache.jetspeed.container.url.PortalURL;
   import org.apache.jetspeed.om.page.Page;
  -
   import org.apache.pluto.om.common.Language;
   import org.apache.pluto.om.common.ObjectID;
   import org.apache.pluto.om.portlet.PortletDefinition;
  @@ -41,10 +41,7 @@
    */
   public interface RequestContext
   {
  -    public static final String PREFERED_LANGUAGE_SESSION_KEY = 
"org.apache.jetspeed.prefered.language";
  -    public static final String PREFERED_LOCALE_SESSION_KEY = 
"org.apache.jetspeed.prefered.locale";
  -    public static final String PREFERED_CHARACTERENCODING_KEY = 
"org.apache.jetspeed.prefered.characterencoding";
  -    public final static String REQUEST_PORTALENV = 
"org.apache.jetspeed.request.RequestContext";                                   
                                                          
  +    public final static String REQUEST_PORTALENV = 
PortalReservedParameters.REQUEST_CONTEXT_ATTRIBUTE;
   
       /**
        * Gets the HTTP Servlet Request.  This is the Servlet
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to