01: /*
02: * Copyright 2002 Sun Microsystems, Inc. All
03: * rights reserved. Use of this product is subject
04: * to license terms. Federal Acquisitions:
05: * Commercial Software -- Government Users
06: * Subject to Standard License Terms and
07: * Conditions.
08: *
09: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
10: * are trademarks or registered trademarks of Sun Microsystems,
11: * Inc. in the United States and other countries.
12: */
13:
14: package com.sun.portal.container.impl;
15:
16: import com.sun.portal.container.ContainerResponse;
17:
18: import javax.servlet.http.HttpServletResponse;
19:
20: /**
21: * A <code>ContainerResponse</code> encapsulates the response sent by the
22: * container to the aggregation engine.
23: **/
24: public class ContainerResponseImpl implements ContainerResponse {
25:
26: private HttpServletResponse _res = null;
27:
28: /**
29: * Returns the HttpServletResponse.
30: *
31: * @return the HttpServletResponse
32: **/
33: public HttpServletResponse getHttpServletResponse() {
34: return _res;
35: }
36:
37: /**
38: * Sets the HttpServletResponse.
39: *
40: * @param response the HttpServletResponse to be set to
41: */
42: public void setHttpServletResponse(HttpServletResponse res) {
43: _res = res;
44: }
45:
46: }
|