01: /*
02: * ========================================================================
03: *
04: * Copyright 2004 The Apache Software Foundation.
05: *
06: * Licensed under the Apache License, Version 2.0 (the "License");
07: * you may not use this file except in compliance with the License.
08: * You may obtain a copy of the License at
09: *
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 java.io.IOException;
23:
24: import javax.servlet.ServletException;
25: import javax.servlet.jsp.PageContext;
26: import javax.servlet.jsp.el.ExpressionEvaluator;
27: import javax.servlet.jsp.el.VariableResolver;
28:
29: import org.apache.cactus.ServletURL;
30:
31: /**
32: * Provide implementation of
33: * {@link javax.servlet.jsp.PageContext} for the Servlet 2.4
34: * API specifications.
35: *
36: * @see AbstractPageContextWrapper23
37: * @version $Id: PageContextWrapper.java 238993 2004-05-22 16:39:34Z vmassol $
38: */
39: public class PageContextWrapper extends AbstractPageContextWrapper23 {
40: /**
41: * @see AbstractPageContextWrapper23#AbstractPageContextWrapper23(PageContext, ServletURL)
42: */
43: public PageContextWrapper(PageContext theOriginalPageContext,
44: ServletURL theURL) {
45: super (theOriginalPageContext, theURL);
46: }
47:
48: // Unmodified methods --------------------------------------------------
49:
50: /**
51: * @see PageContext#include(java.lang.String, boolean)
52: */
53: public void include(String theRelativeUrlPath, boolean isToBeFlushed)
54: throws ServletException, IOException {
55: // TODO: Support simulation URL
56: this .originalPageContext.include(theRelativeUrlPath,
57: isToBeFlushed);
58: }
59:
60: /**
61: * @see javax.servlet.jsp.JspContext#getExpressionEvaluator()
62: */
63: public ExpressionEvaluator getExpressionEvaluator() {
64: return this .originalPageContext.getExpressionEvaluator();
65: }
66:
67: /**
68: * @see javax.servlet.jsp.JspContext#getVariableResolver()
69: */
70: public VariableResolver getVariableResolver() {
71: return this.originalPageContext.getVariableResolver();
72: }
73: }
|