line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ABSTRACT: HTTP method role |
2
|
|
|
|
|
|
|
$Net::Amazon::S3::Request::Role::HTTP::Method::VERSION = '0.991'; |
3
|
|
|
|
|
|
|
use MooseX::Role::Parameterized; |
4
|
99
|
|
|
99
|
|
49732
|
|
|
99
|
|
|
|
|
259
|
|
|
99
|
|
|
|
|
709
|
|
5
|
|
|
|
|
|
|
use Net::Amazon::S3::HTTPRequest; |
6
|
99
|
|
|
99
|
|
698005
|
|
|
99
|
|
|
|
|
255
|
|
|
99
|
|
|
|
|
11112
|
|
7
|
|
|
|
|
|
|
parameter method => ( |
8
|
|
|
|
|
|
|
is => 'ro', |
9
|
|
|
|
|
|
|
isa => 'HTTPMethod', |
10
|
|
|
|
|
|
|
required => 0, |
11
|
|
|
|
|
|
|
); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
role { |
14
|
|
|
|
|
|
|
my ($params) = @_; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
has _http_request_method => ( |
17
|
|
|
|
|
|
|
is => 'ro', |
18
|
|
|
|
|
|
|
isa => 'HTTPMethod', |
19
|
|
|
|
|
|
|
$params->method |
20
|
|
|
|
|
|
|
? ( |
21
|
|
|
|
|
|
|
init_arg => undef, |
22
|
|
|
|
|
|
|
default => $params->method, |
23
|
|
|
|
|
|
|
) |
24
|
|
|
|
|
|
|
: ( |
25
|
|
|
|
|
|
|
init_arg => 'method', |
26
|
|
|
|
|
|
|
required => 1 |
27
|
|
|
|
|
|
|
), |
28
|
|
|
|
|
|
|
); |
29
|
|
|
|
|
|
|
}; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=pod |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=encoding UTF-8 |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 NAME |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
Net::Amazon::S3::Request::Role::HTTP::Method - HTTP method role |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 VERSION |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
version 0.991 |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 AUTHOR |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
Branislav Zahradník <barney@cpan.org> |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
This software is copyright (c) 2022 by Amazon Digital Services, Leon Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav Zahradník. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
55
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=cut |