portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/request RequestContext.java
Date Tue, 04 Jan 2005 15:59:54 GMT
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: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message