1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.commons.latka.event;
18
19 import org.apache.commons.latka.http.Request;
20 import org.apache.commons.latka.http.Response;
21 import org.apache.commons.latka.http.Session;
22
23 /***
24 * The basic set of methods available on all Latka events
25 *
26 * @author Morgan Delagrange
27 * @author <a href="dion@multitask.com.au">dIon Gillard</a>
28 * @version $Id: RequestEvent.java 155424 2005-02-26 13:09:29Z dirkv $
29 */
30 public interface RequestEvent extends LatkaEvent {
31
32 /*** the request the event is about
33 * @return the request the event relates to
34 */
35 Request getRequest();
36
37 /*** the response associated with the event's request
38 * @return the response for the event's request
39 */
40 Response getResponse();
41
42 /*** the session the event took place within
43 * @return the session the event took within
44 */
45 Session getSession();
46 }