jodd.madvoc
Class ActionConfigSet
java.lang.Object
jodd.madvoc.ActionConfigSet
- All Implemented Interfaces:
- java.lang.Comparable<ActionConfigSet>
public class ActionConfigSet
- extends java.lang.Object
- implements java.lang.Comparable<ActionConfigSet>
Set of action configs with the same action path
but with different http method.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configs
protected ActionConfig[] configs
actionPath
public final java.lang.String actionPath
actionPathChunks
public final java.lang.String[] actionPathChunks
actionPathMacros
public final ActionConfigSet.PathMacro[] actionPathMacros
ActionConfigSet
public ActionConfigSet(java.lang.String actionPath)
getActionConfigs
public java.util.List<ActionConfig> getActionConfigs()
- Returns a new list of all action configs from this set.
add
public boolean add(ActionConfig cfg)
- Adds action configuration. Returns
true if
new configuration replaces existing one.
lookup
public ActionConfig lookup(java.lang.String method)
- Lookup for action config for given method.
lookupIndex
protected int lookupIndex(java.lang.String method)
compareTo
public int compareTo(ActionConfigSet set)
- Specified by:
compareTo in interface java.lang.Comparable<ActionConfigSet>
resolveMacros
protected ActionConfigSet.PathMacro[] resolveMacros(java.lang.String[] chunks)
- Finds the best matching macro.
Copyright © 2003-2012 Jodd Team