|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.w3c.www.protocol.http.proxy.RuleNode
A RuleNode instance keeps track of one token within the lfh of a rule. This data structure is usually known as a hash-trie, check one of the Knuth books for more infos.
Method Summary | |
java.util.Hashtable |
getChildren()
|
Rule |
getRule()
|
RuleNode |
lookup(java.lang.String tok)
Lookup a children rule node. |
Rule |
lookupRule(java.lang.String host)
Lookup a rule. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public Rule getRule()
public java.util.Hashtable getChildren()
public Rule lookupRule(java.lang.String host)
The most precise rule is always returned.
public RuleNode lookup(java.lang.String tok)
tok
- The token for the child that is to be looked up.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |