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()
Interceptor
destroy
in interface Interceptor
public void init()
Interceptor
intercept
, giving
the Interceptor a chance to initialize any needed resources.init
in interface Interceptor
public String intercept(ActionInvocation ai) throws Exception
Interceptor
ActionInvocation
or to short-circuit the processing and just return a String return code.intercept
in interface Interceptor
ai
- the action invocationActionInvocation.invoke()
, or from the interceptor itself.Exception
- any system-level error, as defined in Action.execute()
.Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.