public interface UnknownHandlerManager
DefaultUnknownHandlerManager
Modifier and Type | Method and Description |
---|---|
List<UnknownHandler> |
getUnknownHandlers() |
ActionConfig |
handleUnknownAction(String namespace,
String actionName) |
Object |
handleUnknownMethod(Object action,
String methodName)
Tries to handle passed methodName if cannot find method should re
|
Result |
handleUnknownResult(ActionContext actionContext,
String actionName,
ActionConfig actionConfig,
String resultCode) |
boolean |
hasUnknownHandlers() |
Result handleUnknownResult(ActionContext actionContext, String actionName, ActionConfig actionConfig, String resultCode)
Object handleUnknownMethod(Object action, String methodName) throws NoSuchMethodException
action
- Action's instancemethodName
- method name to handleNoSuchMethodException
- if method can be handled by defined UnknownHandlersActionConfig handleUnknownAction(String namespace, String actionName)
boolean hasUnknownHandlers()
List<UnknownHandler> getUnknownHandlers()
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.