|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.wurfl.core.matchers.AbstractMatcher
net.sourceforge.wurfl.core.matchers.DynamicMatcher
public abstract class DynamicMatcher
Matcher built at runtime.
| Field Summary | |
|---|---|
protected Strategy |
strategy
Deprecated. |
| Fields inherited from class net.sourceforge.wurfl.core.matchers.AbstractMatcher |
|---|
DEBUG, detected, inspectionManager, isDebugEnabled, logger, undetected |
| Fields inherited from interface net.sourceforge.wurfl.core.resource.ResourcePaths |
|---|
CATCH_ALL_RECOVERY_FILE, WURFL_CONFIG_FILE |
| Constructor Summary | |
|---|---|
DynamicMatcher(UserAgentNormalizer normalizer)
Deprecated. Only intended for Spring managed bean. |
|
DynamicMatcher(UserAgentNormalizer normalizer,
Condition<String> matchCondition,
StringOp customUserAgentMatchOp,
Strategy.Type strategyType,
IntOp toleranceOp,
OneParamOp<WURFLRequest,String> applyRecoveryMatchOp)
Deprecated. |
|
| Method Summary | |
|---|---|
protected String |
applyRecoveryMatch(WURFLRequest request)
Deprecated. if recovery operation returns Constants.PLEASE_CALL_SUPER, call super evaluation |
boolean |
canHandle(WURFLRequest request)
Deprecated. Matching condition |
String |
getName()
Deprecated. |
protected String |
lookForMatchingUserAgent(String userAgent)
Deprecated. if custom operation returns Constants.PLEASE_CALL_SUPER, call super evaluation |
void |
setApplyRecoveryOp(OneParamOp<WURFLRequest,String> applyRecoveryMatchOp)
Deprecated. |
void |
setApplyUserAgentRecoveryOp(StringOp applyRecoveryMatchOp)
Deprecated. |
void |
setCustomUserAgentMatchOp(StringOp customUserAgentMatchOp)
Deprecated. |
void |
setFixedCustomUserAgentMatch(String fixedRet)
Deprecated. |
void |
setFixedRecovery(String fixedRet)
Deprecated. |
void |
setMatchCondition(Condition<String> matchCondition)
Deprecated. Spring setter for match condition |
void |
setName(String name)
Deprecated. Spring setters |
void |
setStrategyType(Strategy.Type strategyType)
Deprecated. |
void |
setTolerance(int tolerance)
Deprecated. |
void |
setToleranceOp(IntOp toleranceOp)
Deprecated. |
String |
toString()
Deprecated. |
| Methods inherited from class net.sourceforge.wurfl.core.matchers.AbstractMatcher |
|---|
applyCatchAllRecoveryMatch, applyConclusiveMatch, getFilter, match, normalize, setFilter, setInspectionManager |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Strategy strategy
| Constructor Detail |
|---|
public DynamicMatcher(UserAgentNormalizer normalizer)
normalizer -
public DynamicMatcher(UserAgentNormalizer normalizer,
Condition<String> matchCondition,
StringOp customUserAgentMatchOp,
Strategy.Type strategyType,
IntOp toleranceOp,
OneParamOp<WURFLRequest,String> applyRecoveryMatchOp)
| Method Detail |
|---|
public void setName(String name)
name - public void setCustomUserAgentMatchOp(StringOp customUserAgentMatchOp)
public void setFixedCustomUserAgentMatch(String fixedRet)
public void setMatchCondition(Condition<String> matchCondition)
matchCondition - public void setToleranceOp(IntOp toleranceOp)
public void setTolerance(int tolerance)
public void setStrategyType(Strategy.Type strategyType)
public void setApplyRecoveryOp(OneParamOp<WURFLRequest,String> applyRecoveryMatchOp)
public void setApplyUserAgentRecoveryOp(StringOp applyRecoveryMatchOp)
public void setFixedRecovery(String fixedRet)
public boolean canHandle(WURFLRequest request)
userAgent -
protected final String lookForMatchingUserAgent(String userAgent)
lookForMatchingUserAgent in class AbstractMatcheruserAgent - The user-agent to match against.
protected final String applyRecoveryMatch(WURFLRequest request)
applyRecoveryMatch in class AbstractMatcherrequest - The request to match.
public String getName()
getName in interface MatchergetName in class AbstractMatcherpublic final String toString()
toString in class AbstractMatcher
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||