net.sourceforge.stripes.action
Interface Resolution
- All Known Implementing Classes:
- ErrorResolution, ForwardResolution, JavaScriptResolution, OnwardResolution, RedirectResolution, StreamingResolution
public interface Resolution
Type that is designed to be returned by "handler" methods in ActionBeans. The
Resolution is responsible for executing the next step after the ActionBean has handled the
user's request. In most cases this will likely be to forward the user on to the next page.
- Author:
- Tim Fennell
- See Also:
ForwardResolution
execute
void execute(HttpServletRequest request,
HttpServletResponse response)
throws Exception
- Called by the Stripes dispatcher to invoke the Resolution. Should use the request and
response provided to direct the user to an appropriate view.
- Parameters:
request
- the current HttpServletRequestresponse
- the current HttpServletResponse
- Throws:
Exception
- exceptions of any type may be thrown if the Resolution cannot be
executed as intended
? Copyright 2005-2006, Stripes Development Team.