01: /*
02: * Copyright 2005 Joe Walker
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16:
17: package org.directwebremoting.impl.test;
18:
19: import javax.servlet.ServletConfig;
20: import javax.servlet.ServletContext;
21: import javax.servlet.http.HttpServletRequest;
22: import javax.servlet.http.HttpServletResponse;
23: import javax.servlet.http.HttpSession;
24:
25: /**
26: * @author Bram Smeets
27: */
28: public class TestCreatedObject {
29: /**
30: * @param request
31: * @param response
32: * @param config
33: * @param context
34: * @param session
35: */
36: public void testMethodWithServletParameters(
37: HttpServletRequest request, HttpServletResponse response,
38: ServletConfig config, ServletContext context,
39: HttpSession session) {
40: Object ignore = request;
41: ignore = response;
42: ignore = config;
43: ignore = context;
44: ignore = session;
45: session = (HttpSession) ignore;
46:
47: // do nothing
48: }
49:
50: /**
51: * A method with a reserved javascript word as name.
52: */
53: public void namespace() {
54: // do nothing
55: }
56: }
|