public class MockInterceptor extends AbstractInterceptor
Interceptor
.ConditionalInterceptor.LegacyAdapter
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_FOO_VALUE |
Constructor and Description |
---|
MockInterceptor() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getExpectedFoo() |
String |
getFoo() |
int |
hashCode() |
String |
intercept(ActionInvocation invocation)
Allows the Interceptor to do some processing on the request before and/or after the rest of the processing of the
request by the DefaultActionInvocation or to short-circuit the processing and just return a String return code.
|
boolean |
isExecuted() |
void |
setExpectedFoo(String expectedFoo) |
void |
setFoo(String foo) |
intercept, shouldIntercept, shouldIntercept
destroy, init, setDisabled
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
adapt
adapt
destroy, init
public static final String DEFAULT_FOO_VALUE
public boolean isExecuted()
public void setExpectedFoo(String expectedFoo)
public String getExpectedFoo()
public void setFoo(String foo)
public String getFoo()
public String intercept(ActionInvocation invocation) throws Exception
intercept
in class AbstractInterceptor
Exception
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.