01: /*
02: ItsNat Java Web Application Framework
03: Copyright (C) 2007 Innowhere Software Services S.L., Spanish Company
04: Author: Jose Maria Arranz Santamaria
05:
06: This program is free software: you can redistribute it and/or modify
07: it under the terms of the GNU Affero General Public License as published by
08: the Free Software Foundation, either version 3 of the License, or
09: (at your option) any later version. See the GNU Affero General Public
10: License for more details. See the copy of the GNU Affero General Public License
11: included in this program. If not, see <http://www.gnu.org/licenses/>.
12: */
13:
14: package org.itsnat.core.http;
15:
16: import org.itsnat.core.ItsNatServletResponse;
17: import javax.servlet.http.HttpServletResponse;
18:
19: /**
20: * Is the ItsNat wrapper of the <code>javax.servlet.http.HttpServletResponse</code> object.
21: *
22: * @author Jose Maria Arranz Santamaria
23: */
24: public interface ItsNatHttpServletResponse extends
25: ItsNatServletResponse {
26: /**
27: * Returns the wrapped <code>javax.servlet.http.HttpServletResponse</code> object.
28: *
29: * @return the wrapped servlet response object. Can not be null.
30: */
31: public HttpServletResponse getHttpServletResponse();
32:
33: /**
34: * Returns the ItsNat HTTP servlet associated to this response.
35: *
36: * @return the ItsNat HTTP servlet of this response. Can not be null.
37: */
38: public ItsNatHttpServlet getItsNatHttpServlet();
39:
40: /**
41: * Returns the ItsNat HTTP session associated to this response.
42: *
43: * @return the ItsNat HTTP session of this response. Can not be null.
44: */
45: public ItsNatHttpSession getItsNatHttpSession();
46: }
|