|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.bundle.Controller
org.torweg.pulse.component.core.RuleBasedRedirector
public class RuleBasedRedirector
allows rule based redirects.
Each rule is set up by a CommandMatcher and a target Command.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller |
|---|
Controller.AlwaysRun |
| Constructor Summary | |
|---|---|
RuleBasedRedirector()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
check(ServiceRequest request)
checks whether one of the defined rules matches the current request. |
void |
init(ConfigBean c)
configures the controller. |
| Methods inherited from class org.torweg.pulse.bundle.Controller |
|---|
getAlwaysRun, isAlwaysRun, setAlwaysRun |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RuleBasedRedirector()
| Method Detail |
|---|
@AnyAction public final java.lang.Object check(ServiceRequest request)
request - the current request
nullpublic final void init(ConfigBean c)
init in interface DeprecatedConfigurablec - the configurationDeprecatedConfigurable.init(org.torweg.pulse.configuration.ConfigBean)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||