DJDoc v.1.0.0b-1

net.sf.djdoc.action
Class ApiListAction

java.lang.Object
  extended by net.sf.djdoc.action.ApiListAction
All Implemented Interfaces:
Action

public class ApiListAction
extends java.lang.Object
implements Action

The ApiListAction is responsible for displaying the list of all available APIs on the entry page of the DJDoc web application.


Constructor Summary
ApiListAction()
           
 
Method Summary
 java.lang.Object perform(DjdocRequest req)
          This method does absolutely nothing since the list of available APIs does not have to be constructed on demand as it is cached by the class Apis.
 void sendResponse(DjdocRequest req, javax.servlet.http.HttpServletResponse res)
          This method simply redirects the response to the "listApis.jsp" page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApiListAction

public ApiListAction()
Method Detail

perform

public java.lang.Object perform(DjdocRequest req)
This method does absolutely nothing since the list of available APIs does not have to be constructed on demand as it is cached by the class Apis.

Specified by:
perform in interface Action
Parameters:
req - The wrapper around the HTTP request
Returns:
null

sendResponse

public void sendResponse(DjdocRequest req,
                         javax.servlet.http.HttpServletResponse res)
                  throws java.io.IOException
This method simply redirects the response to the "listApis.jsp" page.

Specified by:
sendResponse in interface Action
Parameters:
req - The wrapper around the HTTP request
res - The HTTP response connected to the server call
Throws:
java.io.IOException

DJDoc v.1.0.0b-1