WikiAction.java :  » Wiki-Engine » VeryQuickWiki » vqwiki » Java Open Source

Java Open Source » Wiki Engine » VeryQuickWiki 
VeryQuickWiki » vqwiki » WikiAction.java
/**
 * Copyright 2004, Gareth Cronin
 * User: garethc
 * Date: 6/06/2004
 * Time: 09:10:25
 */
package vqwiki;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Generic interface for actions
 *
 * Copyright 2004, Gareth Cronin
 *
 * @author $Author: wrh2 $
 *         Last Modified: $Date: 2006-04-23 09:52:28 +0200 (zo, 23 apr 2006) $
 *         $Id: WikiAction.java 644 2006-04-23 07:52:28Z wrh2 $
 */
public interface WikiAction {

    /**
     * Carry out the action resulting from the given request and then pass back the response
     * @param request request
     * @param response response
     * @throws Exception any exception that occurs in the action
     */
    void doAction(HttpServletRequest request, HttpServletResponse response) throws Exception;
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.