1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
package com.xpn.xwiki.web; |
21 |
|
|
22 |
|
import java.io.BufferedReader; |
23 |
|
import java.io.IOException; |
24 |
|
import java.io.UnsupportedEncodingException; |
25 |
|
import java.net.URL; |
26 |
|
import java.security.Principal; |
27 |
|
import java.util.Collection; |
28 |
|
import java.util.Collections; |
29 |
|
import java.util.Enumeration; |
30 |
|
import java.util.LinkedHashMap; |
31 |
|
import java.util.Locale; |
32 |
|
import java.util.Map; |
33 |
|
|
34 |
|
import javax.servlet.AsyncContext; |
35 |
|
import javax.servlet.DispatcherType; |
36 |
|
import javax.servlet.RequestDispatcher; |
37 |
|
import javax.servlet.ServletContext; |
38 |
|
import javax.servlet.ServletException; |
39 |
|
import javax.servlet.ServletInputStream; |
40 |
|
import javax.servlet.ServletRequest; |
41 |
|
import javax.servlet.ServletResponse; |
42 |
|
import javax.servlet.http.Cookie; |
43 |
|
import javax.servlet.http.HttpServletRequest; |
44 |
|
import javax.servlet.http.HttpServletResponse; |
45 |
|
import javax.servlet.http.HttpSession; |
46 |
|
import javax.servlet.http.Part; |
47 |
|
|
48 |
|
import org.apache.commons.lang3.ArrayUtils; |
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
@version |
55 |
|
|
|
|
| 32.3% |
Uncovered Elements: 136 (201) |
Complexity: 91 |
Complexity Density: 0.91 |
|
56 |
|
public class XWikiServletRequestStub implements XWikiRequest |
57 |
|
{ |
58 |
|
|
59 |
|
|
60 |
|
|
61 |
|
private String scheme; |
62 |
|
|
63 |
|
private String host; |
64 |
|
|
65 |
|
|
66 |
|
|
67 |
|
|
68 |
|
private String contextPath; |
69 |
|
|
70 |
|
private StringBuffer requestURL; |
71 |
|
|
72 |
|
private String requestURI; |
73 |
|
|
74 |
|
private String serverName; |
75 |
|
|
76 |
|
private Map<String, String[]> parameters; |
77 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
78 |
7108 |
public XWikiServletRequestStub()... |
79 |
|
{ |
80 |
7108 |
setHost(""); |
81 |
|
} |
82 |
|
|
83 |
|
|
84 |
|
@since |
85 |
|
|
|
|
| 77.8% |
Uncovered Elements: 2 (9) |
Complexity: 2 |
Complexity Density: 0.29 |
|
86 |
2 |
public XWikiServletRequestStub(URL requestURL, Map<String, String[]> requestParameters)... |
87 |
|
{ |
88 |
2 |
if (requestURL != null) { |
89 |
2 |
setScheme(requestURL.getProtocol()); |
90 |
2 |
setHost(requestURL.getHost()); |
91 |
|
|
92 |
2 |
setRequestURI(requestURL.toString()); |
93 |
2 |
setrequestURL(new StringBuffer(requestURL.toString())); |
94 |
|
} else { |
95 |
0 |
setHost(""); |
96 |
|
} |
97 |
|
|
98 |
2 |
this.parameters = clone(requestParameters); |
99 |
|
} |
100 |
|
|
|
|
| 55.6% |
Uncovered Elements: 4 (9) |
Complexity: 2 |
Complexity Density: 0.29 |
|
101 |
33 |
private Map<String, String[]> clone(Map<String, String[]> map)... |
102 |
|
{ |
103 |
33 |
Map<String, String[]> clone; |
104 |
33 |
if (this.parameters != null) { |
105 |
0 |
clone = new LinkedHashMap<>(map.size()); |
106 |
0 |
for (Map.Entry<String, String[]> entry : map.entrySet()) { |
107 |
0 |
clone.put(entry.getKey(), entry.getValue().clone()); |
108 |
|
} |
109 |
|
} else { |
110 |
33 |
clone = null; |
111 |
|
} |
112 |
|
|
113 |
33 |
return clone; |
114 |
|
} |
115 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
116 |
41 |
public void setContextPath(String contextPath)... |
117 |
|
{ |
118 |
41 |
this.contextPath = contextPath; |
119 |
|
} |
120 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
121 |
14152 |
public void setHost(String host)... |
122 |
|
{ |
123 |
14152 |
this.host = host; |
124 |
|
} |
125 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
126 |
7051 |
public void setScheme(String scheme)... |
127 |
|
{ |
128 |
7051 |
this.scheme = scheme; |
129 |
|
} |
130 |
|
|
131 |
|
|
132 |
|
@since |
133 |
|
@since |
134 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
135 |
39 |
public void setrequestURL(StringBuffer requestURL)... |
136 |
|
{ |
137 |
39 |
this.requestURL = requestURL; |
138 |
|
} |
139 |
|
|
140 |
|
|
141 |
|
@since |
142 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
143 |
4 |
public void setRequestURI(String requestURI)... |
144 |
|
{ |
145 |
4 |
this.requestURI = requestURI; |
146 |
|
} |
147 |
|
|
148 |
|
|
149 |
|
@since |
150 |
|
@since |
151 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
152 |
37 |
public void setServerName(String serverName)... |
153 |
|
{ |
154 |
37 |
this.serverName = serverName; |
155 |
|
} |
156 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
157 |
7110 |
@Override... |
158 |
|
public String getHeader(String s) |
159 |
|
{ |
160 |
7110 |
if (s.equals("x-forwarded-host")) { |
161 |
7106 |
return this.host; |
162 |
|
} |
163 |
4 |
return ""; |
164 |
|
} |
165 |
|
|
166 |
|
|
167 |
|
@since |
168 |
|
|
|
|
| 0% |
Uncovered Elements: 11 (11) |
Complexity: 3 |
Complexity Density: 0.43 |
|
169 |
0 |
public void put(String key, String value)... |
170 |
|
{ |
171 |
0 |
if (this.parameters == null) { |
172 |
0 |
this.parameters = new LinkedHashMap<>(); |
173 |
|
} |
174 |
|
|
175 |
0 |
String[] values = this.parameters.get(key); |
176 |
0 |
if (values == null) { |
177 |
0 |
values = new String[] { value }; |
178 |
|
} else { |
179 |
0 |
values = ArrayUtils.add(values, value); |
180 |
|
} |
181 |
0 |
this.parameters.put(key, values); |
182 |
|
} |
183 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
184 |
0 |
@Override... |
185 |
|
public String get(String name) |
186 |
|
{ |
187 |
0 |
return getParameter(name); |
188 |
|
} |
189 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
190 |
0 |
@Override... |
191 |
|
public HttpServletRequest getHttpServletRequest() |
192 |
|
{ |
193 |
0 |
return null; |
194 |
|
} |
195 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
196 |
0 |
@Override... |
197 |
|
public Cookie getCookie(String cookieName) |
198 |
|
{ |
199 |
0 |
return null; |
200 |
|
} |
201 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
202 |
0 |
@Override... |
203 |
|
public String getAuthType() |
204 |
|
{ |
205 |
0 |
return ""; |
206 |
|
} |
207 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
208 |
1 |
@Override... |
209 |
|
public Cookie[] getCookies() |
210 |
|
{ |
211 |
1 |
return new Cookie[0]; |
212 |
|
} |
213 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
214 |
2 |
@Override... |
215 |
|
public long getDateHeader(String s) |
216 |
|
{ |
217 |
2 |
return 0; |
218 |
|
} |
219 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
220 |
0 |
@Override... |
221 |
|
public Enumeration<String> getHeaders(String s) |
222 |
|
{ |
223 |
0 |
return null; |
224 |
|
} |
225 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
226 |
0 |
@Override... |
227 |
|
public Enumeration<String> getHeaderNames() |
228 |
|
{ |
229 |
0 |
return null; |
230 |
|
} |
231 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
232 |
0 |
@Override... |
233 |
|
public int getIntHeader(String s) |
234 |
|
{ |
235 |
0 |
return 0; |
236 |
|
} |
237 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
238 |
0 |
@Override... |
239 |
|
public String getMethod() |
240 |
|
{ |
241 |
0 |
return null; |
242 |
|
} |
243 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
244 |
0 |
@Override... |
245 |
|
public String getPathInfo() |
246 |
|
{ |
247 |
0 |
return null; |
248 |
|
} |
249 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
250 |
0 |
@Override... |
251 |
|
public String getPathTranslated() |
252 |
|
{ |
253 |
0 |
return null; |
254 |
|
} |
255 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
256 |
130 |
@Override... |
257 |
|
public String getContextPath() |
258 |
|
{ |
259 |
130 |
return this.contextPath; |
260 |
|
} |
261 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
262 |
0 |
@Override... |
263 |
|
public String getQueryString() |
264 |
|
{ |
265 |
0 |
return ""; |
266 |
|
} |
267 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
268 |
0 |
@Override... |
269 |
|
public String getRemoteUser() |
270 |
|
{ |
271 |
0 |
return null; |
272 |
|
} |
273 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
274 |
0 |
@Override... |
275 |
|
public boolean isUserInRole(String s) |
276 |
|
{ |
277 |
0 |
return false; |
278 |
|
} |
279 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
280 |
0 |
@Override... |
281 |
|
public Principal getUserPrincipal() |
282 |
|
{ |
283 |
0 |
return null; |
284 |
|
} |
285 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
286 |
0 |
@Override... |
287 |
|
public String getRequestedSessionId() |
288 |
|
{ |
289 |
0 |
return null; |
290 |
|
} |
291 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
292 |
1 |
@Override... |
293 |
|
public String getRequestURI() |
294 |
|
{ |
295 |
1 |
return this.requestURI; |
296 |
|
} |
297 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (3) |
Complexity: 2 |
Complexity Density: 2 |
|
298 |
70 |
@Override... |
299 |
|
public StringBuffer getRequestURL() |
300 |
|
{ |
301 |
70 |
return this.requestURL == null ? new StringBuffer() : this.requestURL; |
302 |
|
} |
303 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
304 |
34 |
@Override... |
305 |
|
public String getServletPath() |
306 |
|
{ |
307 |
34 |
return null; |
308 |
|
} |
309 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
310 |
0 |
@Override... |
311 |
|
public HttpSession getSession(boolean b) |
312 |
|
{ |
313 |
0 |
return null; |
314 |
|
} |
315 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
316 |
0 |
@Override... |
317 |
|
public HttpSession getSession() |
318 |
|
{ |
319 |
0 |
return null; |
320 |
|
} |
321 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
322 |
0 |
@Override... |
323 |
|
public boolean isRequestedSessionIdValid() |
324 |
|
{ |
325 |
0 |
return false; |
326 |
|
} |
327 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
328 |
0 |
@Override... |
329 |
|
public boolean isRequestedSessionIdFromCookie() |
330 |
|
{ |
331 |
0 |
return false; |
332 |
|
} |
333 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
334 |
0 |
@Override... |
335 |
|
public boolean isRequestedSessionIdFromURL() |
336 |
|
{ |
337 |
0 |
return false; |
338 |
|
} |
339 |
|
|
340 |
|
|
341 |
|
@deprecated |
342 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
343 |
0 |
@Override... |
344 |
|
@Deprecated |
345 |
|
public boolean isRequestedSessionIdFromUrl() |
346 |
|
{ |
347 |
0 |
return false; |
348 |
|
} |
349 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
350 |
2 |
@Override... |
351 |
|
public Object getAttribute(String s) |
352 |
|
{ |
353 |
2 |
return null; |
354 |
|
} |
355 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
356 |
2 |
@Override... |
357 |
|
public Enumeration<String> getAttributeNames() |
358 |
|
{ |
359 |
2 |
return null; |
360 |
|
} |
361 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
362 |
0 |
@Override... |
363 |
|
public String getCharacterEncoding() |
364 |
|
{ |
365 |
0 |
return null; |
366 |
|
} |
367 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
368 |
0 |
@Override... |
369 |
|
public void setCharacterEncoding(String s) throws UnsupportedEncodingException |
370 |
|
{ |
371 |
|
|
372 |
|
} |
373 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
374 |
0 |
@Override... |
375 |
|
public int getContentLength() |
376 |
|
{ |
377 |
0 |
return 0; |
378 |
|
} |
379 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
380 |
0 |
@Override... |
381 |
|
public String getContentType() |
382 |
|
{ |
383 |
0 |
return null; |
384 |
|
} |
385 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
386 |
0 |
@Override... |
387 |
|
public ServletInputStream getInputStream() throws IOException |
388 |
|
{ |
389 |
0 |
return null; |
390 |
|
} |
391 |
|
|
|
|
| 37.5% |
Uncovered Elements: 5 (8) |
Complexity: 4 |
Complexity Density: 1 |
|
392 |
3352 |
@Override... |
393 |
|
public String getParameter(String s) |
394 |
|
{ |
395 |
3352 |
if (this.parameters != null) { |
396 |
0 |
String[] values = this.parameters.get(s); |
397 |
0 |
return values != null && values.length > 0 ? values[0] : null; |
398 |
|
} |
399 |
|
|
400 |
3351 |
return null; |
401 |
|
} |
402 |
|
|
|
|
| 0% |
Uncovered Elements: 3 (3) |
Complexity: 2 |
Complexity Density: 2 |
|
403 |
0 |
@Override... |
404 |
|
public Enumeration<String> getParameterNames() |
405 |
|
{ |
406 |
0 |
return this.parameters != null ? Collections.enumeration(this.parameters.keySet()) : null; |
407 |
|
} |
408 |
|
|
|
|
| 0% |
Uncovered Elements: 8 (8) |
Complexity: 3 |
Complexity Density: 0.75 |
|
409 |
0 |
@Override... |
410 |
|
public String[] getParameterValues(String s) |
411 |
|
{ |
412 |
0 |
if (this.parameters != null) { |
413 |
0 |
String[] values = this.parameters.get(s); |
414 |
|
|
415 |
0 |
return values != null ? values.clone() : null; |
416 |
|
} |
417 |
|
|
418 |
0 |
return null; |
419 |
|
} |
420 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
421 |
31 |
@Override... |
422 |
|
public Map<String, String[]> getParameterMap() |
423 |
|
{ |
424 |
31 |
return clone(this.parameters); |
425 |
|
} |
426 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
427 |
0 |
@Override... |
428 |
|
public String getProtocol() |
429 |
|
{ |
430 |
0 |
return null; |
431 |
|
} |
432 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
433 |
7106 |
@Override... |
434 |
|
public String getScheme() |
435 |
|
{ |
436 |
7106 |
return this.scheme; |
437 |
|
} |
438 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
439 |
4 |
@Override... |
440 |
|
public String getServerName() |
441 |
|
{ |
442 |
4 |
return this.serverName; |
443 |
|
} |
444 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
445 |
0 |
@Override... |
446 |
|
public int getServerPort() |
447 |
|
{ |
448 |
0 |
return 0; |
449 |
|
} |
450 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
451 |
0 |
@Override... |
452 |
|
public BufferedReader getReader() throws IOException |
453 |
|
{ |
454 |
0 |
return null; |
455 |
|
} |
456 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
457 |
0 |
@Override... |
458 |
|
public String getRemoteAddr() |
459 |
|
{ |
460 |
0 |
return null; |
461 |
|
} |
462 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
463 |
0 |
@Override... |
464 |
|
public String getRemoteHost() |
465 |
|
{ |
466 |
0 |
return null; |
467 |
|
} |
468 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
469 |
2 |
@Override... |
470 |
|
public void setAttribute(String s, Object o) |
471 |
|
{ |
472 |
|
|
473 |
|
} |
474 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
475 |
0 |
@Override... |
476 |
|
public void removeAttribute(String s) |
477 |
|
{ |
478 |
|
|
479 |
|
} |
480 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
481 |
0 |
@Override... |
482 |
|
public Locale getLocale() |
483 |
|
{ |
484 |
0 |
return null; |
485 |
|
} |
486 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
487 |
0 |
@Override... |
488 |
|
public Enumeration<Locale> getLocales() |
489 |
|
{ |
490 |
0 |
return null; |
491 |
|
} |
492 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
493 |
75 |
@Override... |
494 |
|
public boolean isSecure() |
495 |
|
{ |
496 |
75 |
return false; |
497 |
|
} |
498 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
499 |
0 |
@Override... |
500 |
|
public RequestDispatcher getRequestDispatcher(String s) |
501 |
|
{ |
502 |
0 |
return null; |
503 |
|
} |
504 |
|
|
505 |
|
|
506 |
|
@deprecated |
507 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
508 |
0 |
@Override... |
509 |
|
@Deprecated |
510 |
|
public String getRealPath(String s) |
511 |
|
{ |
512 |
0 |
return null; |
513 |
|
} |
514 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
515 |
0 |
@Override... |
516 |
|
public int getRemotePort() |
517 |
|
{ |
518 |
0 |
return 0; |
519 |
|
} |
520 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
521 |
0 |
@Override... |
522 |
|
public String getLocalName() |
523 |
|
{ |
524 |
0 |
return null; |
525 |
|
} |
526 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
527 |
0 |
@Override... |
528 |
|
public String getLocalAddr() |
529 |
|
{ |
530 |
0 |
return null; |
531 |
|
} |
532 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
533 |
0 |
@Override... |
534 |
|
public int getLocalPort() |
535 |
|
{ |
536 |
0 |
return 0; |
537 |
|
} |
538 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
539 |
0 |
@Override... |
540 |
|
public boolean authenticate(HttpServletResponse httpServletResponse) throws IOException, ServletException |
541 |
|
{ |
542 |
0 |
return false; |
543 |
|
} |
544 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
545 |
0 |
@Override... |
546 |
|
public void login(String s, String s1) throws ServletException |
547 |
|
{ |
548 |
|
} |
549 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
550 |
0 |
@Override... |
551 |
|
public void logout() throws ServletException |
552 |
|
{ |
553 |
|
|
554 |
|
} |
555 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
556 |
0 |
@Override... |
557 |
|
public Collection<Part> getParts() throws IOException, ServletException |
558 |
|
{ |
559 |
0 |
return null; |
560 |
|
} |
561 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
562 |
0 |
@Override... |
563 |
|
public Part getPart(String s) throws IOException, ServletException |
564 |
|
{ |
565 |
0 |
return null; |
566 |
|
} |
567 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
568 |
0 |
@Override... |
569 |
|
public ServletContext getServletContext() |
570 |
|
{ |
571 |
0 |
return null; |
572 |
|
} |
573 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
574 |
0 |
@Override... |
575 |
|
public AsyncContext startAsync() throws IllegalStateException |
576 |
|
{ |
577 |
0 |
return null; |
578 |
|
} |
579 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
580 |
0 |
@Override... |
581 |
|
public AsyncContext startAsync(ServletRequest servletRequest, ServletResponse servletResponse) |
582 |
|
throws IllegalStateException |
583 |
|
{ |
584 |
0 |
return null; |
585 |
|
} |
586 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
587 |
0 |
@Override... |
588 |
|
public boolean isAsyncStarted() |
589 |
|
{ |
590 |
0 |
return false; |
591 |
|
} |
592 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
593 |
0 |
@Override... |
594 |
|
public boolean isAsyncSupported() |
595 |
|
{ |
596 |
0 |
return false; |
597 |
|
} |
598 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
599 |
0 |
@Override... |
600 |
|
public AsyncContext getAsyncContext() |
601 |
|
{ |
602 |
0 |
return null; |
603 |
|
} |
604 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
605 |
0 |
@Override... |
606 |
|
public DispatcherType getDispatcherType() |
607 |
|
{ |
608 |
0 |
return null; |
609 |
|
} |
610 |
|
} |