1 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 30 public class BaseRequestEvent implements RequestEvent { 31 32 35 private Request _request = null; 36 37 40 private Response _response = null; 41 42 45 private Session _session = null; 46 47 52 public BaseRequestEvent(Request request, Response response) { 53 _session = request.getSession(); 54 _request = request; 55 _response = response; 56 } 57 58 61 public Request getRequest() { 62 return _request; 63 } 64 65 68 public Response getResponse() { 69 return _response; 70 } 71 72 75 public Session getSession() { 76 return _session; 77 } 78 } 79 | Popular Tags |