openamf/src/java/org/openamf DefaultGateway.java,1.62,1.63

Sean Sullivan <[email protected]> Sat, 18 Sep 2004 02:54:05 +0000
Newsgroups gmane.comp.java.openamf.cvs
Message-ID <[email protected]>
Update of /cvsroot/openamf/openamf/src/java/org/openamf
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18725/src/java/org/openamf

Modified Files:
	DefaultGateway.java 
Log Message:
put HttpServletResponse object into the RequestContext.
Feature Request #1028245.

Index: DefaultGateway.java
===================================================================
RCS file: /cvsroot/openamf/openamf/src/java/org/openamf/DefaultGateway.java,v
retrieving revision 1.62
retrieving revision 1.63
diff -C2 -d -r1.62 -r1.63
*** DefaultGateway.java	20 Aug 2004 04:41:19 -0000	1.62
--- DefaultGateway.java	18 Sep 2004 02:54:02 -0000	1.63
***************
*** 59,64 ****
  	}
  
! 	protected void initializeRequestContext(HttpServletRequest req) {
  		RequestContext.setHttpServletRequest(req);
  	}
  	
--- 59,65 ----
  	}
  
! 	protected void initializeRequestContext(HttpServletRequest req, HttpServletResponse resp) {
  		RequestContext.setHttpServletRequest(req);
+ 		RequestContext.setHttpServletResponse(resp);
  	}
  	
***************
*** 76,80 ****
  		throws ServletException, IOException {
  		
! 		initializeRequestContext(req);
  		
  		AMFMessage requestMessage = null;
--- 77,81 ----
  		throws ServletException, IOException {
  		
! 		initializeRequestContext(req, resp);
  		
  		AMFMessage requestMessage = null;



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php