01: /**
02: * Copyright 2004, Gareth Cronin
03: * User: garethc
04: * Date: 6/06/2004
05: * Time: 09:10:25
06: */package vqwiki;
07:
08: import javax.servlet.http.HttpServletRequest;
09: import javax.servlet.http.HttpServletResponse;
10:
11: /**
12: * Generic interface for actions
13: *
14: * Copyright 2004, Gareth Cronin
15: *
16: * @author $Author: wrh2 $
17: * Last Modified: $Date: 2006-04-23 09:52:28 +0200 (zo, 23 apr 2006) $
18: * $Id: WikiAction.java 644 2006-04-23 07:52:28Z wrh2 $
19: */
20: public interface WikiAction {
21:
22: /**
23: * Carry out the action resulting from the given request and then pass back the response
24: * @param request request
25: * @param response response
26: * @throws Exception any exception that occurs in the action
27: */
28: void doAction(HttpServletRequest request,
29: HttpServletResponse response) throws Exception;
30: }
|