View Javadoc

1   /* ------------------------------------
2    * © Kaamelot - 2006
3    * ------------------------------------
4    * Projet  : KaamelotAddOn
5    * Fichier : CharResponseWrapper.java
6    * $Id$ 
7    * $Date$ 
8    * $Log$
9    */
10  package com.atlassian.jira.servlet;
11  
12  import java.io.BufferedReader;
13  import java.io.IOException;
14  import java.io.UnsupportedEncodingException;
15  import java.security.Principal;
16  import java.util.Enumeration;
17  import java.util.Locale;
18  import java.util.Map;
19  
20  import javax.servlet.RequestDispatcher;
21  import javax.servlet.ServletInputStream;
22  import javax.servlet.http.Cookie;
23  import javax.servlet.http.HttpServletRequest;
24  import javax.servlet.http.HttpSession;
25  
26  /**
27   * @author Kaamelot - 2006
28   * <b>Description :</b>
29   * Provide an Empty HttpServletRequest 
30   */
31  public class EmptyRequest implements HttpServletRequest {
32  
33  	public String getAuthType() {
34  		// TODO Auto-generated method stub
35  		return null;
36  	}
37  
38  	public String getContextPath() {
39  		// TODO Auto-generated method stub
40  		return null;
41  	}
42  
43  	public Cookie[] getCookies() {
44  		// TODO Auto-generated method stub
45  		return null;
46  	}
47  
48  	public long getDateHeader(String name) {
49  		// TODO Auto-generated method stub
50  		return 0;
51  	}
52  
53  	public String getHeader(String name) {
54  		// TODO Auto-generated method stub
55  		return null;
56  	}
57  
58  	public Enumeration getHeaderNames() {
59  		// TODO Auto-generated method stub
60  		return null;
61  	}
62  
63  	public Enumeration getHeaders(String name) {
64  		// TODO Auto-generated method stub
65  		return null;
66  	}
67  
68  	public int getIntHeader(String name) {
69  		// TODO Auto-generated method stub
70  		return 0;
71  	}
72  
73  	public String getMethod() {
74  		// TODO Auto-generated method stub
75  		return null;
76  	}
77  
78  	public String getPathInfo() {
79  		// TODO Auto-generated method stub
80  		return null;
81  	}
82  
83  	public String getPathTranslated() {
84  		// TODO Auto-generated method stub
85  		return null;
86  	}
87  
88  	public String getQueryString() {
89  		// TODO Auto-generated method stub
90  		return null;
91  	}
92  
93  	public String getRemoteUser() {
94  		// TODO Auto-generated method stub
95  		return null;
96  	}
97  
98  	public String getRequestURI() {
99  		// TODO Auto-generated method stub
100 		return null;
101 	}
102 
103 	public StringBuffer getRequestURL() {
104 		// TODO Auto-generated method stub
105 		return null;
106 	}
107 
108 	public String getRequestedSessionId() {
109 		// TODO Auto-generated method stub
110 		return null;
111 	}
112 
113 	public String getServletPath() {
114 		// TODO Auto-generated method stub
115 		return null;
116 	}
117 
118 	public HttpSession getSession() {
119 		// TODO Auto-generated method stub
120 		return null;
121 	}
122 
123 	public HttpSession getSession(boolean create) {
124 		// TODO Auto-generated method stub
125 		return null;
126 	}
127 
128 	public Principal getUserPrincipal() {
129 		// TODO Auto-generated method stub
130 		return null;
131 	}
132 
133 	public boolean isRequestedSessionIdFromCookie() {
134 		// TODO Auto-generated method stub
135 		return false;
136 	}
137 
138 	public boolean isRequestedSessionIdFromURL() {
139 		// TODO Auto-generated method stub
140 		return false;
141 	}
142 
143 	public boolean isRequestedSessionIdFromUrl() {
144 		// TODO Auto-generated method stub
145 		return false;
146 	}
147 
148 	public boolean isRequestedSessionIdValid() {
149 		// TODO Auto-generated method stub
150 		return false;
151 	}
152 
153 	public boolean isUserInRole(String role) {
154 		// TODO Auto-generated method stub
155 		return false;
156 	}
157 
158 	public Object getAttribute(String name) {
159 		// TODO Auto-generated method stub
160 		return null;
161 	}
162 
163 	public Enumeration getAttributeNames() {
164 		// TODO Auto-generated method stub
165 		return null;
166 	}
167 
168 	public String getCharacterEncoding() {
169 		// TODO Auto-generated method stub
170 		return null;
171 	}
172 
173 	public int getContentLength() {
174 		// TODO Auto-generated method stub
175 		return 0;
176 	}
177 
178 	public String getContentType() {
179 		// TODO Auto-generated method stub
180 		return null;
181 	}
182 
183 	public ServletInputStream getInputStream() throws IOException {
184 		// TODO Auto-generated method stub
185 		return null;
186 	}
187 
188 	public Locale getLocale() {
189 		// TODO Auto-generated method stub
190 		return null;
191 	}
192 
193 	public Enumeration getLocales() {
194 		// TODO Auto-generated method stub
195 		return null;
196 	}
197 
198 	public String getParameter(String name) {
199 		// TODO Auto-generated method stub
200 		return null;
201 	}
202 
203 	public Map getParameterMap() {
204 		// TODO Auto-generated method stub
205 		return null;
206 	}
207 
208 	public Enumeration getParameterNames() {
209 		// TODO Auto-generated method stub
210 		return null;
211 	}
212 
213 	public String[] getParameterValues(String name) {
214 		// TODO Auto-generated method stub
215 		return null;
216 	}
217 
218 	public String getProtocol() {
219 		// TODO Auto-generated method stub
220 		return null;
221 	}
222 
223 	public BufferedReader getReader() throws IOException {
224 		// TODO Auto-generated method stub
225 		return null;
226 	}
227 
228 	public String getRealPath(String path) {
229 		// TODO Auto-generated method stub
230 		return null;
231 	}
232 
233 	public String getRemoteAddr() {
234 		// TODO Auto-generated method stub
235 		return null;
236 	}
237 
238 	public String getRemoteHost() {
239 		// TODO Auto-generated method stub
240 		return null;
241 	}
242 
243 	public RequestDispatcher getRequestDispatcher(String path) {
244 		// TODO Auto-generated method stub
245 		return null;
246 	}
247 
248 	public String getScheme() {
249 		// TODO Auto-generated method stub
250 		return null;
251 	}
252 
253 	public String getServerName() {
254 		// TODO Auto-generated method stub
255 		return null;
256 	}
257 
258 	public int getServerPort() {
259 		// TODO Auto-generated method stub
260 		return 0;
261 	}
262 
263 	public boolean isSecure() {
264 		// TODO Auto-generated method stub
265 		return false;
266 	}
267 
268 	public void removeAttribute(String name) {
269 		// TODO Auto-generated method stub
270 		
271 	}
272 
273 	public void setAttribute(String name, Object o) {
274 		// TODO Auto-generated method stub
275 		
276 	}
277 
278 	public void setCharacterEncoding(String arg0) throws UnsupportedEncodingException {
279 		// TODO Auto-generated method stub
280 		
281 	}
282 	
283 }