org.codehaus.waffle.action
Interface ActionMethodResponseHandler

All Known Implementing Classes:
DefaultActionMethodResponseHandler

public interface ActionMethodResponseHandler

Custom implementation of this interface will be able to act in response to the values returned from an ActionMethod.

Author:
Michael Ward

Method Summary
 void handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ActionMethodResponse actionMethodResponse)
          Handles response from an action method invocation.
 

Method Detail

handle

void handle(javax.servlet.http.HttpServletRequest request,
            javax.servlet.http.HttpServletResponse response,
            ActionMethodResponse actionMethodResponse)
            throws java.io.IOException,
                   javax.servlet.ServletException
Handles response from an action method invocation. Regardless of the implementation an ActionMethodResponse value of null indicates that the user should be return to the referring page.

Parameters:
request -
response -
actionMethodResponse -
Throws:
java.io.IOException
javax.servlet.ServletException


Copyright © 2008. All Rights Reserved.