01: /* Copyright 2001 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal;
07:
08: import javax.servlet.http.HttpServletResponse;
09:
10: /**
11: * An interface that a multithreaded channel that wants to
12: * have direct access to the HttpServletResponse object must implement.
13: *
14: * @author Eric Dalquist <a href="mailto:edalquist@unicon.net">edalquist@unicon.net</a>
15: * @version $Revision: 36379 $
16: *
17: * @deprecated Use the IChannel* interfaces instead or write a portlet. For more information see:
18: * http://www.ja-sig.org/wiki/display/UPC/Proposal+to+Deprecate+IMultithreaded+Interfaces
19:
20: */
21: public interface IMultithreadedDirectResponse {
22:
23: /**
24: * Sets the HttpServletResponse for the channel to use.
25: *
26: * @param uid The unique ID of the channel
27: * @param response The HttpServletResponse for the channel to use.
28: */
29: public void setResponse(String uid, HttpServletResponse response);
30: }
|