Package org.apache.struts2
Interface UnknownHandlerManager
- All Known Implementing Classes:
DefaultUnknownHandlerManager
public interface UnknownHandlerManager
An unknown handler manager contains a list of UnknownHandler and iterates on them by order
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionhandleUnknownAction
(String namespace, String actionName) handleUnknownMethod
(Object action, String methodName) Tries to handle passed methodName if cannot find method should rehandleUnknownResult
(ActionContext actionContext, String actionName, ActionConfig actionConfig, String resultCode) boolean
-
Method Details
-
handleUnknownResult
Result handleUnknownResult(ActionContext actionContext, String actionName, ActionConfig actionConfig, String resultCode) -
handleUnknownMethod
Tries to handle passed methodName if cannot find method should re- Parameters:
action
- Action's instancemethodName
- method name to handle- Returns:
- Result representing result of given action method
- Throws:
NoSuchMethodException
- if method can be handled by defined UnknownHandlers
-
handleUnknownAction
-
hasUnknownHandlers
boolean hasUnknownHandlers() -
getUnknownHandlers
List<UnknownHandler> getUnknownHandlers()
-