File Coverage

blib/lib/Servlet/Http/HttpServletResponse.pm
Criterion Covered Total %
statement 120 120 100.0
branch n/a
condition n/a
subroutine 40 40 100.0
pod n/a
total 160 160 100.0


line stmt bran cond sub pod time code
1             # -*- Mode: Perl; indent-tabs-mode: nil; -*-
2              
3             package Servlet::Http::HttpServletResponse;
4              
5 1     1   1106 use base qw(Servlet::ServletResponse);
  1         2  
  1         81  
6              
7 1     1   6 use constant SC_CONTINUE => 100;
  1         2  
  1         73  
8 1     1   5 use constant SC_SWITCHING_PROTOCOLS => 101;
  1         9  
  1         41  
9 1     1   5 use constant SC_OK => 200;
  1         2  
  1         43  
10 1     1   4 use constant SC_CREATED => 201;
  1         2  
  1         42  
11 1     1   5 use constant SC_ACCEPTED => 202;
  1         1  
  1         38  
12 1     1   4 use constant SC_NON_AUTHORITATIVE_INFORMATION => 203;
  1         2  
  1         49  
13 1     1   10 use constant SC_NO_CONTENT => 204;
  1         3  
  1         42  
14 1     1   4 use constant SC_RESET_CONTENT => 205;
  1         2  
  1         37  
15 1     1   5 use constant SC_PARTIAL_CONTENT => 206;
  1         2  
  1         41  
16 1     1   5 use constant SC_MULTIPLE_CHOICES => 300;
  1         2  
  1         41  
17 1     1   5 use constant SC_MOVED_PERMANENTLY => 301;
  1         1  
  1         45  
18 1     1   4 use constant SC_MOVED_TEMPORARILY => 302;
  1         2  
  1         41  
19 1     1   5 use constant SC_SEE_OTHER => 303;
  1         2  
  1         37  
20 1     1   4 use constant SC_NOT_MODIFIED => 304;
  1         2  
  1         48  
21 1     1   5 use constant SC_USE_PROXY => 305;
  1         2  
  1         43  
22 1     1   5 use constant SC_BAD_REQUEST => 400;
  1         1  
  1         39  
23 1     1   4 use constant SC_UNAUTHORIZED => 401;
  1         2  
  1         43  
24 1     1   5 use constant SC_PAYMENT_REQUIRED => 402;
  1         1  
  1         47  
25 1     1   5 use constant SC_FORBIDDEN => 403;
  1         2  
  1         35  
26 1     1   5 use constant SC_NOT_FOUND => 404;
  1         1  
  1         43  
27 1     1   5 use constant SC_METHOD_NOT_ALLOWED => 405;
  1         7  
  1         44  
28 1     1   19 use constant SC_NOT_ACCEPTABLE => 406;
  1         2  
  1         46  
29 1     1   5 use constant SC_PROXY_AUTHENTICATION_REQUIRED => 407;
  1         2  
  1         42  
30 1     1   4 use constant SC_REQUEST_TIMEOUT => 408;
  1         2  
  1         48  
31 1     1   5 use constant SC_CONFLICT => 409;
  1         2  
  1         43  
32 1     1   5 use constant SC_GONE => 410;
  1         1  
  1         35  
33 1     1   5 use constant SC_LENGTH_REQUIRED => 411;
  1         1  
  1         42  
34 1     1   5 use constant SC_PRECONDITION_FAILED => 412;
  1         2  
  1         45  
35 1     1   5 use constant SC_REQUEST_ENTITY_TOO_LARGE => 413;
  1         2  
  1         42  
36 1     1   4 use constant SC_REQUEST_URI_TOO_LONG => 414;
  1         9  
  1         47  
37 1     1   5 use constant SC_UNSUPPORTED_MEDIA_TYPE => 415;
  1         2  
  1         37  
38 1     1   4 use constant SC_REQUESTED_RANGE_NOT_SATISFIABLE => 416;
  1         2  
  1         43  
39 1     1   6 use constant SC_EXPECTATION_FAILED => 417;
  1         1  
  1         42  
40 1     1   4 use constant SC_INTERNAL_SERVER_ERROR => 500;
  1         1  
  1         104  
41 1     1   5 use constant SC_NOT_IMPLEMENTED => 501;
  1         2  
  1         44  
42 1     1   5 use constant SC_BAD_GATEWAY => 502;
  1         1  
  1         35  
43 1     1   5 use constant SC_SERVICE_UNAVAILABLE => 503;
  1         2  
  1         47  
44 1     1   5 use constant SC_GATEWAY_TIMEOUT => 504;
  1         1  
  1         41  
45 1     1   4 use constant SC_HTTP_VERSION_NOT_SUPPORTED => 505;
  1         2  
  1         44  
46              
47             1;
48             __END__