net.trajano.twiff
Interface ActionPageLookup

All Superinterfaces:
PageLookup
All Known Implementing Classes:
AttachmentActionPageLookup

public interface ActionPageLookup
extends PageLookup

These provide lookups for data used by the ActionServlet.

Author:
Archimedes Trajano

Method Summary
 Method getActionMethod(HttpServletRequest request)
          This extracts the action method from the URL requested in the servlet request.
 String getActionMethodName(HttpServletRequest request)
          This extracts the action method name from the URL requested in the servlet request.
 
Methods inherited from interface net.trajano.twiff.PageLookup
getPageBeanClass, getPageBeanClassName, getPageName
 

Method Detail

getActionMethodName

String getActionMethodName(HttpServletRequest request)
This extracts the action method name from the URL requested in the servlet request.

Parameters:
request - the servlet request.
Returns:
the action method name.

getActionMethod

Method getActionMethod(HttpServletRequest request)
                       throws NoSuchMethodException,
                              SecurityException,
                              ClassNotFoundException
This extracts the action method from the URL requested in the servlet request.

Parameters:
request - the servlet request.
Returns:
the action method name.
Throws:
NoSuchMethodException - the page bean class method does not exist.
SecurityException - the page bean class method is not public.
ClassNotFoundException - the page bean class name does not exist.


Copyright © 2004-2005 trajano.net. All Rights Reserved.