|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.madvoc.interceptor.ActionInterceptor
jodd.madvoc.interceptor.IdRequestInjectorInterceptor
jodd.madvoc.interceptor.PrepareAndIdInjectorInterceptor
public class PrepareAndIdInjectorInterceptor
This is a simple join of IdRequestInjectorInterceptor and PrepareInterceptor.
Since it is common to use these interceptors together, this one joins then into one interceptor.
This join is a bit more efficient, since ids will be injected only if action is
Preparable.
| Field Summary |
|---|
| Fields inherited from class jodd.madvoc.interceptor.IdRequestInjectorInterceptor |
|---|
ATTR_NAME_ID_SUFFIX, madvocConfig, requestInjector |
| Fields inherited from class jodd.madvoc.interceptor.ActionInterceptor |
|---|
initialized |
| Constructor Summary | |
|---|---|
PrepareAndIdInjectorInterceptor()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
intercept(ActionRequest actionRequest)
If action is preparable, injects ids from request and invokes prepare(). |
| Methods inherited from class jodd.madvoc.interceptor.IdRequestInjectorInterceptor |
|---|
init, injectIdsFromRequest |
| Methods inherited from class jodd.madvoc.interceptor.ActionInterceptor |
|---|
initialized, isInitialized, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PrepareAndIdInjectorInterceptor()
| Method Detail |
|---|
public java.lang.Object intercept(ActionRequest actionRequest)
throws java.lang.Exception
prepare().
intercept in class IdRequestInjectorInterceptorjava.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||