01: /*
02: * Copyright 2000,2005 wingS development team.
03: *
04: * This file is part of wingS (http://wingsframework.org).
05: *
06: * wingS is free software; you can redistribute it and/or modify
07: * it under the terms of the GNU Lesser General Public License
08: * as published by the Free Software Foundation; either version 2.1
09: * of the License, or (at your option) any later version.
10: *
11: * Please see COPYING for the complete licence.
12: */
13: package org.wings.event;
14:
15: import java.util.EventListener;
16:
17: /**
18: * Request listeners can be registered in the current {@link org.wings.session.Session}
19: * and will receive different events during the various request phases on processing an
20: * HTTP request for this session.
21: *
22: * @author <a href="mailto:haaf@mercatis.de">Armin Haaf</a>
23: */
24: public interface SRequestListener extends EventListener {
25:
26: /**
27: * The session is currently processing an HTTP request in the passed state.
28: * <p><b>NOTE:</b> This method will be called several times caused by the differen request phases / events
29: * during one HTTP request!
30: *
31: * @param e The current request event type.
32: */
33: void processRequest(SRequestEvent e);
34:
35: }
|