org.codehaus.waffle.action
Interface ActionMethodResponseHandler

All Known Implementing Classes:
DefaultActionMethodResponseHandler

public interface ActionMethodResponseHandler

Author:
Michael Ward

Method Summary
 void handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ActionMethodResponse actionMethodResponse)
          Custom implementation of this interface will be able to act in response to the values returned from an ActionMethod.
 

Method Detail

handle

void handle(javax.servlet.http.HttpServletRequest request,
            javax.servlet.http.HttpServletResponse response,
            ActionMethodResponse actionMethodResponse)
            throws java.io.IOException,
                   javax.servlet.ServletException
Custom implementation of this interface will be able to act in response to the values returned from an ActionMethod. Regardless of the implementation an ActionMethodResponse value of null should return to the referring page.

Parameters:
request -
response -
actionMethodResponse - - a value of null should return to the refering page
Throws:
java.io.IOException
javax.servlet.ServletException


Copyright © 2008. All Rights Reserved.