public class DateTextFieldInterceptor extends Object implements Interceptor
| Modifier and Type | Class and Description |
|---|---|
static class |
DateTextFieldInterceptor.DateWord |
| Constructor and Description |
|---|
DateTextFieldInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Called to let an interceptor clean up any resources it has allocated.
|
void |
init()
Called after an interceptor is created, but before any requests are processed using
intercept , giving
the Interceptor a chance to initialize any needed resources. |
String |
intercept(ActionInvocation ai)
Allows the Interceptor to do some processing on the request before and/or after the rest of the processing of the
request by the
ActionInvocation or to short-circuit the processing and just return a String return code. |
public void destroy()
Interceptordestroy in interface Interceptorpublic void init()
Interceptorintercept , giving
the Interceptor a chance to initialize any needed resources.init in interface Interceptorpublic String intercept(ActionInvocation ai) throws Exception
InterceptorActionInvocation or to short-circuit the processing and just return a String return code.intercept in interface Interceptorai - the action invocationActionInvocation.invoke(), or from the interceptor itself.Exception - any system-level error, as defined in Action.execute().Copyright © 2000–2016 Apache Software Foundation. All rights reserved.