org.apache.jetspeed.profiler.rules.impl
Class PathSessionResolver

java.lang.Object
  extended by org.apache.jetspeed.profiler.rules.impl.PathSessionResolver
All Implemented Interfaces:
Serializable, org.apache.jetspeed.profiler.rules.RuleCriterionResolver

public class PathSessionResolver
extends Object
implements org.apache.jetspeed.profiler.rules.RuleCriterionResolver

PathSessionResolver

Version:
$Id: PathSessionResolver.java 516448 2007-03-09 16:25:47Z ate $
Author:
David Sean Taylor
See Also:
Serialized Form

Field Summary
(package private) static String[][] REGEX_MAP
           
 
Fields inherited from interface org.apache.jetspeed.profiler.rules.RuleCriterionResolver
COUNTRY, GROUP, GROUP_ROLE_USER, HARD_CODED, LANGUAGE, MEDIATYPE, NAVIGATION, PAGE, PATH, PATH_SESSION, REQUEST, REQUEST_SESSION, ROLE, ROLE_FALLBACK, SESSION, USER, USER_AGENT, USER_ATTRIBUTE
 
Constructor Summary
PathSessionResolver()
           
 
Method Summary
 boolean isControl(org.apache.jetspeed.profiler.rules.RuleCriterion criterion)
           
 boolean isNavigation(org.apache.jetspeed.profiler.rules.RuleCriterion criterion)
           
private  String mapPath(org.apache.jetspeed.request.RequestContext context, String originalPath)
           
 String resolve(org.apache.jetspeed.request.RequestContext context, org.apache.jetspeed.profiler.rules.RuleCriterion criterion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REGEX_MAP

static String[][] REGEX_MAP
Constructor Detail

PathSessionResolver

public PathSessionResolver()
Method Detail

resolve

public String resolve(org.apache.jetspeed.request.RequestContext context,
                      org.apache.jetspeed.profiler.rules.RuleCriterion criterion)
Specified by:
resolve in interface org.apache.jetspeed.profiler.rules.RuleCriterionResolver

mapPath

private String mapPath(org.apache.jetspeed.request.RequestContext context,
                       String originalPath)

isControl

public boolean isControl(org.apache.jetspeed.profiler.rules.RuleCriterion criterion)
Specified by:
isControl in interface org.apache.jetspeed.profiler.rules.RuleCriterionResolver

isNavigation

public boolean isNavigation(org.apache.jetspeed.profiler.rules.RuleCriterion criterion)
Specified by:
isNavigation in interface org.apache.jetspeed.profiler.rules.RuleCriterionResolver


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.