KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > commons > latka > event > RequestEvent


1 /*
2  * Copyright 1999-2002,2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
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 }
47
Popular Tags