KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > terracotta > session > WeblogicRequestResponseFactory


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.terracotta.session;
5
6 import weblogic.servlet.internal.ServletResponseImpl;
7 import weblogic.servlet.internal.TerracottaServletResponseImpl;
8
9 import javax.servlet.http.HttpServletResponse JavaDoc;
10
11 public class WeblogicRequestResponseFactory extends BaseRequestResponseFactory {
12
13   public TerracottaResponse createResponse(TerracottaRequest request, HttpServletResponse JavaDoc response) {
14     return new TerracottaServletResponseImpl(request, (ServletResponseImpl) response);
15   }
16
17   // As some point we'll probably need to subclass Weblogic's request type too ;-)
18

19 }
20
Popular Tags