KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > cactus > server > PageContextWrapper


1 /*
2  * ========================================================================
3  *
4  * Copyright 2001-2003 The Apache Software Foundation.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  * ========================================================================
19  */

20 package org.apache.cactus.server;
21
22 import javax.servlet.jsp.PageContext JavaDoc;
23
24 import org.apache.cactus.ServletURL;
25
26 /**
27  * Wrapper around <code>PageContext</code> so that get methods that would
28  * normally return implicit objects will now return Cactus wrapper of
29  * implicit objects instead.
30  *
31  * @version $Id: PageContextWrapper.java,v 1.1 2004/05/22 11:34:48 vmassol Exp $
32  */

33 public class PageContextWrapper extends AbstractPageContextWrapper
34 {
35     /**
36      * Construct an <code>PageContext</code> instance that delegates
37      * it's method calls to the page context object passed as parameter and
38      * that uses the URL passed as parameter to simulate a URL from which
39      * the request would come from.
40      *
41      * @param theOriginalPageContext the real page context
42      * @param theURL the URL to simulate or <code>null</code> if none
43      */

44     public PageContextWrapper(PageContext JavaDoc theOriginalPageContext,
45         ServletURL theURL)
46     {
47         super(theOriginalPageContext, theURL);
48     }
49
50     // Unmodified overridden methods -----------------------------------------
51
}
52
Popular Tags