line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# -*- Mode: Perl; indent-tabs-mode: nil; -*- |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package Servlet::Http::HttpServletResponseWrapper; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
9198
|
use base qw(Servlet::ServletResponseWrapper); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
573
|
|
6
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
28
|
|
7
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
433
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub addCookie { |
10
|
1
|
|
|
1
|
0
|
2
|
my $self = shift; |
11
|
|
|
|
|
|
|
|
12
|
1
|
|
|
|
|
14
|
return $self->getResponse()->addCookie(@_); |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub addDateHeader { |
16
|
1
|
|
|
1
|
0
|
379
|
my $self = shift; |
17
|
|
|
|
|
|
|
|
18
|
1
|
|
|
|
|
4
|
return $self->getResponse()->addDateHeader(@_); |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
sub addHeader { |
22
|
1
|
|
|
1
|
0
|
360
|
my $self = shift; |
23
|
|
|
|
|
|
|
|
24
|
1
|
|
|
|
|
5
|
return $self->getResponse()->addHeader(@_); |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
sub containsHeader { |
28
|
1
|
|
|
1
|
0
|
359
|
my $self = shift; |
29
|
|
|
|
|
|
|
|
30
|
1
|
|
|
|
|
3
|
return $self->getResponse()->containsHeader(@_); |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
sub encodeRedirectURL { |
34
|
1
|
|
|
1
|
0
|
336
|
my $self = shift; |
35
|
|
|
|
|
|
|
|
36
|
1
|
|
|
|
|
5
|
return $self->getResponse()->encodeRedirectURL(@_); |
37
|
|
|
|
|
|
|
} |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
sub encodeURL { |
40
|
1
|
|
|
1
|
0
|
346
|
my $self = shift; |
41
|
|
|
|
|
|
|
|
42
|
1
|
|
|
|
|
5
|
return $self->getResponse()->encodeURL(@_); |
43
|
|
|
|
|
|
|
} |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
sub sendError { |
46
|
1
|
|
|
1
|
0
|
375
|
my $self = shift; |
47
|
|
|
|
|
|
|
|
48
|
1
|
|
|
|
|
5
|
return $self->getResponse()->sendError(@_); |
49
|
|
|
|
|
|
|
} |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
sub sendRedirect { |
52
|
1
|
|
|
1
|
0
|
368
|
my $self = shift; |
53
|
|
|
|
|
|
|
|
54
|
1
|
|
|
|
|
4
|
return $self->getResponse()->sendRedirect(@_); |
55
|
|
|
|
|
|
|
} |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
sub setDateHeader { |
58
|
1
|
|
|
1
|
0
|
411
|
my $self = shift; |
59
|
|
|
|
|
|
|
|
60
|
1
|
|
|
|
|
4
|
return $self->getResponse()->setDateHeader(@_); |
61
|
|
|
|
|
|
|
} |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
sub setHeader { |
64
|
1
|
|
|
1
|
0
|
372
|
my $self = shift; |
65
|
|
|
|
|
|
|
|
66
|
1
|
|
|
|
|
6
|
return $self->getResponse()->setHeader(@_); |
67
|
|
|
|
|
|
|
} |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
sub setStatus { |
70
|
1
|
|
|
1
|
0
|
394
|
my $self = shift; |
71
|
|
|
|
|
|
|
|
72
|
1
|
|
|
|
|
5
|
return $self->getResponse()->setStatus(@_); |
73
|
|
|
|
|
|
|
} |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
1; |
76
|
|
|
|
|
|
|
__END__ |