taylor 2005/04/09 11:48:09 Modified: jetspeed-api/src/java/org/apache/jetspeed/profiler/rules RuleCriterionResolver.java jetspeed-api/src/java/org/apache/jetspeed/capabilities Client.java Log: http://issues.apache.org/jira/browse/JS2-230 locate profiles with user-agent Revision Changes Path 1.7 +4 -1 jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/profiler/rules/RuleCriterionResolver.java Index: RuleCriterionResolver.java =================================================================== RCS file: /home/cvs/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/profiler/rules/RuleCriterionResolver.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- RuleCriterionResolver.java 23 Mar 2005 22:15:25 -0000 1.6 +++ RuleCriterionResolver.java 9 Apr 2005 18:48:09 -0000 1.7 @@ -58,6 +58,9 @@ /** first check request parameter, then check country code in the request context */ public final static String COUNTRY = "country"; + + /** first check request parameter, then user agent in the request context */ + public final static String USER_AGENT = "user.agent"; /** first check request parameter, then check language in the request context */ public final static String LANGUAGE = "language"; 1.3 +4 -0 jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/capabilities/Client.java Index: Client.java =================================================================== RCS file: /home/cvs/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/capabilities/Client.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Client.java 19 Mar 2005 12:47:13 -0000 1.2 +++ Client.java 9 Apr 2005 18:48:09 -0000 1.3 @@ -42,6 +42,10 @@ */ public int getClientId(); + public int getEvalOrder(); + + public void setEvalOrder(int evalOrder); + /** * Returns the pattern parameter of this client. The pattern is used * to match a client to the user agent used to access the portal. If
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]