01: /**
02: * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
03: * Licensed under the Common Development and Distribution License,
04: * you may not use this file except in compliance with the License.
05: * You may obtain a copy of the License at
06: *
07: * http://www.sun.com/cddl/
08: *
09: * Unless required by applicable law or agreed to in writing, software
10: * distributed under the License is distributed on an "AS IS" BASIS,
11: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12: * implied. See the License for the specific language governing
13: * permissions and limitations under the License.
14: */package com.sun.facelets.mock;
15:
16: import java.io.IOException;
17: import java.net.URL;
18:
19: import javax.servlet.RequestDispatcher;
20: import javax.servlet.ServletException;
21: import javax.servlet.ServletRequest;
22: import javax.servlet.ServletResponse;
23:
24: /**
25: *
26: * @author Jacob Hookom
27: * @version $Id: MockRequestDispatcher.java,v 1.1 2005/07/18 08:25:42 jhook Exp $
28: */
29: public class MockRequestDispatcher implements RequestDispatcher {
30:
31: protected final URL url;
32:
33: public MockRequestDispatcher(URL url) {
34: this .url = url;
35: }
36:
37: public void forward(ServletRequest request, ServletResponse response)
38: throws ServletException, IOException {
39: // TODO Auto-generated method stub
40:
41: }
42:
43: public void include(ServletRequest request, ServletResponse response)
44: throws ServletException, IOException {
45: // TODO Auto-generated method stub
46:
47: }
48:
49: }
|