|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.profiler.rules.impl.StandardResolver
org.apache.jetspeed.profiler.rules.impl.HostnameCriterionResolver
public class HostnameCriterionResolver
Hostname Resolver
Field Summary |
---|
Fields inherited from class org.apache.jetspeed.profiler.rules.impl.StandardResolver |
---|
COMBO_DELIMITER, VALUE_DELIMITER |
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 | |
---|---|
HostnameCriterionResolver(boolean usePrefix)
|
Method Summary | |
---|---|
boolean |
isControl(RuleCriterion criterion)
Gets the control classification of the resolver. |
boolean |
isNavigation(RuleCriterion criterion)
Gets the navigation classification of the resolver. |
java.lang.String |
resolve(RequestContext context,
RuleCriterion criterion)
Resolver the value for a criterion. |
Methods inherited from class org.apache.jetspeed.profiler.rules.impl.StandardResolver |
---|
combinePrincipals, resolvePrincipals |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HostnameCriterionResolver(boolean usePrefix)
Method Detail |
---|
public boolean isControl(RuleCriterion criterion)
RuleCriterionResolver
isControl
in interface RuleCriterionResolver
isControl
in class StandardResolver
public boolean isNavigation(RuleCriterion criterion)
RuleCriterionResolver
isNavigation
in interface RuleCriterionResolver
isNavigation
in class StandardResolver
public java.lang.String resolve(RequestContext context, RuleCriterion criterion)
RuleCriterionResolver
resolve
in interface RuleCriterionResolver
resolve
in class StandardResolver
context
- The request context.criterion
- The criterion being evaluated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |