public class ActionConfig extends Located implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ActionConfig.Builder
The builder for this object.
|
Modifier and Type | Field and Description |
---|---|
protected AllowedMethods |
allowedMethods |
protected String |
className |
static String |
DEFAULT_METHOD |
static String |
DEFAULT_METHOD_REGEX |
protected List<ExceptionMappingConfig> |
exceptionMappings |
protected List<InterceptorMapping> |
interceptors |
protected String |
methodName |
protected String |
name |
protected String |
packageName |
protected Map<String,String> |
params |
protected Map<String,ResultConfig> |
results |
protected boolean |
strictMethodInvocation |
static String |
WILDCARD |
Modifier | Constructor and Description |
---|---|
protected |
ActionConfig(ActionConfig orig)
Clones an ActionConfig, copying data into new maps and lists
|
protected |
ActionConfig(String packageName,
String name,
String className) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Set<String> |
getAllowedMethods() |
String |
getClassName() |
List<ExceptionMappingConfig> |
getExceptionMappings() |
List<InterceptorMapping> |
getInterceptors() |
String |
getMethodName()
Returns name of the action method
|
String |
getName() |
String |
getPackageName() |
Map<String,String> |
getParams() |
Map<String,ResultConfig> |
getResults() |
int |
hashCode() |
boolean |
isAllowedMethod(String method) |
boolean |
isStrictMethodInvocation() |
String |
toString() |
getLocation, setLocation
public static final String DEFAULT_METHOD
public static final String WILDCARD
public static final String DEFAULT_METHOD_REGEX
protected List<InterceptorMapping> interceptors
protected Map<String,ResultConfig> results
protected List<ExceptionMappingConfig> exceptionMappings
protected String className
protected String methodName
protected String packageName
protected String name
protected boolean strictMethodInvocation
protected AllowedMethods allowedMethods
protected ActionConfig(ActionConfig orig)
orig
- The ActionConfig to clonepublic String getName()
public String getClassName()
public List<ExceptionMappingConfig> getExceptionMappings()
public List<InterceptorMapping> getInterceptors()
public String getMethodName()
public String getPackageName()
public Map<String,ResultConfig> getResults()
public boolean isAllowedMethod(String method)
public boolean isStrictMethodInvocation()
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.