Source Code Cross Referenced for HttpServletRequestStub.java in  » Development » jReform » test » util » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Development » jReform » test.util 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package test.util;
002:
003:        import java.io.BufferedReader;
004:        import java.io.IOException;
005:        import java.io.UnsupportedEncodingException;
006:        import java.security.Principal;
007:        import java.util.Enumeration;
008:        import java.util.HashMap;
009:        import java.util.Locale;
010:        import java.util.Map;
011:
012:        import javax.servlet.RequestDispatcher;
013:        import javax.servlet.ServletInputStream;
014:        import javax.servlet.http.Cookie;
015:        import javax.servlet.http.HttpServletRequest;
016:        import javax.servlet.http.HttpSession;
017:
018:        @SuppressWarnings("unchecked")
019:        public class HttpServletRequestStub implements  HttpServletRequest {
020:            private Map parameterMap = new HashMap();
021:
022:            public String getParameter(String key) {
023:                return (String) parameterMap.get(key);
024:            }
025:
026:            public void setParameter(String key, String value) {
027:                parameterMap.put(key, value);
028:            }
029:
030:            public String[] getParameterValues(String key) {
031:                return (String[]) parameterMap.get(key);
032:            }
033:
034:            public void setParameterValues(String key, String[] values) {
035:                parameterMap.put(key, values);
036:            }
037:
038:            public String getAuthType() {
039:                return null;
040:            }
041:
042:            public String getContextPath() {
043:                return null;
044:            }
045:
046:            public Cookie[] getCookies() {
047:                return null;
048:            }
049:
050:            public long getDateHeader(String arg0) {
051:                return 0;
052:            }
053:
054:            public String getHeader(String arg0) {
055:                return null;
056:            }
057:
058:            public Enumeration getHeaderNames() {
059:                return null;
060:            }
061:
062:            public Enumeration getHeaders(String arg0) {
063:                return null;
064:            }
065:
066:            public int getIntHeader(String arg0) {
067:                return 0;
068:            }
069:
070:            public String getMethod() {
071:                return null;
072:            }
073:
074:            public String getPathInfo() {
075:                return null;
076:            }
077:
078:            public String getPathTranslated() {
079:                return null;
080:            }
081:
082:            public String getQueryString() {
083:                return null;
084:            }
085:
086:            public String getRemoteUser() {
087:                return null;
088:            }
089:
090:            public String getRequestURI() {
091:                return null;
092:            }
093:
094:            public StringBuffer getRequestURL() {
095:                return null;
096:            }
097:
098:            public String getRequestedSessionId() {
099:                return null;
100:            }
101:
102:            public String getServletPath() {
103:                return null;
104:            }
105:
106:            public HttpSession getSession() {
107:                return null;
108:            }
109:
110:            public HttpSession getSession(boolean arg0) {
111:                return null;
112:            }
113:
114:            public Principal getUserPrincipal() {
115:                return null;
116:            }
117:
118:            public boolean isRequestedSessionIdFromCookie() {
119:                return false;
120:            }
121:
122:            public boolean isRequestedSessionIdFromURL() {
123:                return false;
124:            }
125:
126:            public boolean isRequestedSessionIdFromUrl() {
127:                return false;
128:            }
129:
130:            public boolean isRequestedSessionIdValid() {
131:                return false;
132:            }
133:
134:            public boolean isUserInRole(String arg0) {
135:                return false;
136:            }
137:
138:            public Object getAttribute(String arg0) {
139:                return null;
140:            }
141:
142:            public Enumeration getAttributeNames() {
143:                return null;
144:            }
145:
146:            public String getCharacterEncoding() {
147:                return null;
148:            }
149:
150:            public int getContentLength() {
151:                return 0;
152:            }
153:
154:            public String getContentType() {
155:                return null;
156:            }
157:
158:            public ServletInputStream getInputStream() throws IOException {
159:                return null;
160:            }
161:
162:            public String getLocalAddr() {
163:                return null;
164:            }
165:
166:            public String getLocalName() {
167:                return null;
168:            }
169:
170:            public int getLocalPort() {
171:                return 0;
172:            }
173:
174:            public Locale getLocale() {
175:                return null;
176:            }
177:
178:            public Enumeration getLocales() {
179:                return null;
180:            }
181:
182:            public Map getParameterMap() {
183:                return null;
184:            }
185:
186:            public Enumeration getParameterNames() {
187:                return null;
188:            }
189:
190:            public String getProtocol() {
191:                return null;
192:            }
193:
194:            public BufferedReader getReader() throws IOException {
195:                return null;
196:            }
197:
198:            public String getRealPath(String arg0) {
199:                return null;
200:            }
201:
202:            public String getRemoteAddr() {
203:                return null;
204:            }
205:
206:            public String getRemoteHost() {
207:                return null;
208:            }
209:
210:            public int getRemotePort() {
211:                return 0;
212:            }
213:
214:            public RequestDispatcher getRequestDispatcher(String arg0) {
215:                return null;
216:            }
217:
218:            public String getScheme() {
219:                return null;
220:            }
221:
222:            public String getServerName() {
223:                return null;
224:            }
225:
226:            public int getServerPort() {
227:                return 0;
228:            }
229:
230:            public boolean isSecure() {
231:                return false;
232:            }
233:
234:            public void removeAttribute(String arg0) {
235:            }
236:
237:            public void setAttribute(String arg0, Object arg1) {
238:            }
239:
240:            public void setCharacterEncoding(String arg0)
241:                    throws UnsupportedEncodingException {
242:            }
243:
244:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.