|
1
|
|
/* Generated by AspectJ version 1.0.5 */
|
|
2
|
|
package org.apache.cactus.server;
|
|
3
|
|
import javax.servlet.jsp.PageContext;
|
|
4
|
|
import org.apache.cactus.ServletURL;
|
|
5
|
|
|
|
6
|
|
/**
|
|
7
|
|
* Wrapper around <code>PageContext</code> so that get methods that would
|
|
8
|
|
* normally return implicit objects will now return Cactus wrapper of
|
|
9
|
|
* implicit objects instead.
|
|
10
|
|
*
|
|
11
|
|
* @author <a href="mailto:vmassol@apache.org">Vincent Massol</a>
|
|
12
|
|
*
|
|
13
|
|
* @version $Id: PageContextWrapper.java,v 1.2 2002/04/14 10:15:03 vmassol Exp $
|
|
14
|
|
*/
|
|
15
|
|
public class PageContextWrapper extends AbstractPageContextWrapper {
|
|
16
|
|
/**
|
|
17
|
|
* Construct an <code>PageContext</code> instance that delegates
|
|
18
|
|
* it's method calls to the page context object passed as parameter and
|
|
19
|
|
* that uses the URL passed as parameter to simulate a URL from which
|
|
20
|
|
* the request would come from.
|
|
21
|
|
*
|
|
22
|
|
* @param theOriginalPageContext the real page context
|
|
23
|
|
* @param theURL the URL to simulate or <code>null</code> if none
|
|
24
|
|
*/
|
|
25
|
42
|
public PageContextWrapper(PageContext theOriginalPageContext, ServletURL theURL) {
|
|
26
|
42
|
super(theOriginalPageContext, theURL);
|
|
27
|
|
;
|
|
28
|
|
}
|
|
29
|
|
}
|